text: /**
   * Module dependencies
   */
  
  const util = require('util')
  
  /**
   * AuthorizationError
   */
  
  function AuthorizationError (options, status) {
    this.name = 'AuthorizationError'
    this.error = options.error || 'invalid_request'
    this.error_description = options.error_description
    this.redirect_uri = options.redirect_uri
    this.statusCode = options.statusCode || 400
  }
  
  util.inherits(AuthorizationError, Error)
  
  /**
   * Exports
   */
  
  module.exports = AuthorizationError
  