code: function (type) {
        var error = Exception.errors.filter(function (item) {
          return item.type === type || item.output === type;
        })[0];
  
        return error ? error.output : null;
      }
docs: get error by type
  @param {String} type
  @returns {*}