aboutsummaryrefslogtreecommitdiff
path: root/node_modules/passport-facebook/lib/errors/facebooktokenerror.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/passport-facebook/lib/errors/facebooktokenerror.js')
-rw-r--r--node_modules/passport-facebook/lib/errors/facebooktokenerror.js36
1 files changed, 0 insertions, 36 deletions
diff --git a/node_modules/passport-facebook/lib/errors/facebooktokenerror.js b/node_modules/passport-facebook/lib/errors/facebooktokenerror.js
deleted file mode 100644
index ff4e9dc..0000000
--- a/node_modules/passport-facebook/lib/errors/facebooktokenerror.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * `FacebookTokenError` error.
- *
- * FacebookTokenError represents an error received from a Facebook's token
- * endpoint. Note that these responses don't conform to the OAuth 2.0
- * specification.
- *
- * References:
- * - https://developers.facebook.com/docs/reference/api/errors/
- *
- * @constructor
- * @param {string} [message]
- * @param {string} [type]
- * @param {number} [code]
- * @param {number} [subcode]
- * @param {string} [traceID]
- * @access public
- */
-function FacebookTokenError(message, type, code, subcode, traceID) {
- Error.call(this);
- Error.captureStackTrace(this, arguments.callee);
- this.name = 'FacebookTokenError';
- this.message = message;
- this.type = type;
- this.code = code;
- this.subcode = subcode;
- this.traceID = traceID;
- this.status = 500;
-}
-
-// Inherit from `Error`.
-FacebookTokenError.prototype.__proto__ = Error.prototype;
-
-
-// Expose constructor.
-module.exports = FacebookTokenError;