From dc46b87abee1e441c07524ddde67fd902a919336 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Tue, 16 Apr 2019 09:17:06 -0400 Subject: added some dependencies to package.json --- .../passport/lib/errors/authenticationerror.js | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 node_modules/passport/lib/errors/authenticationerror.js (limited to 'node_modules/passport/lib/errors/authenticationerror.js') 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; -- cgit v1.2.3