code: function AuthorizationError(message, code, uri, status) {
    if (!status) {
      switch (code) {
        case 'invalid_client': status = 401; break;
        case 'access_denied': status = 403; break;
        case 'server_error': status = 500; break;
        case 'temporarily_unavailable': status = 503; break;
      }
    }
    
    Error.call(this);
    Error.captureStackTrace(this, arguments.callee);
    this.name = 'AuthorizationError';
    this.message = message || null;
    this.code = code || 'server_error';
    this.uri = uri;
    this.status = status || 400;
  }
docs: `AuthorizationError` error.
  
  @api public