diff options
Diffstat (limited to 'node_modules/passport/lib/errors/authenticationerror.js')
| -rw-r--r-- | node_modules/passport/lib/errors/authenticationerror.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/node_modules/passport/lib/errors/authenticationerror.js b/node_modules/passport/lib/errors/authenticationerror.js deleted file mode 100644 index 04cbbe5..0000000 --- a/node_modules/passport/lib/errors/authenticationerror.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * `AuthenticationError` error. - * - * @api private - */ -function AuthenticationError(message, status) { - Error.call(this); - Error.captureStackTrace(this, arguments.callee); - this.name = 'AuthenticationError'; - this.message = message; - this.status = status || 401; -} - -/** - * Inherit from `Error`. - */ -AuthenticationError.prototype.__proto__ = Error.prototype; - - -/** - * Expose `AuthenticationError`. - */ -module.exports = AuthenticationError; |
