code: function APIError(message, type, field) {
    Error.call(this);
    Error.captureStackTrace(this, arguments.callee);
    this.name = 'APIError';
    this.message = message;
    this.type = type;
    this.field = field;
  }
docs: `APIError` error.
  
  @constructor
  @param {string} [message]
  @param {string} [type]
  @param {string} [field]
  @access public