aboutsummaryrefslogtreecommitdiff
path: root/node_modules/passport-google-oauth20/lib/errors/userinfoerror.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/passport-google-oauth20/lib/errors/userinfoerror.js')
-rw-r--r--node_modules/passport-google-oauth20/lib/errors/userinfoerror.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/node_modules/passport-google-oauth20/lib/errors/userinfoerror.js b/node_modules/passport-google-oauth20/lib/errors/userinfoerror.js
deleted file mode 100644
index 0b2c487..0000000
--- a/node_modules/passport-google-oauth20/lib/errors/userinfoerror.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * `UserInfoError` error.
- *
- * @constructor
- * @param {string} [message]
- * @param {string} [code]
- * @access public
- */
-function UserInfoError(message, code) {
- Error.call(this);
- Error.captureStackTrace(this, arguments.callee);
- this.name = 'UserInfoError';
- this.message = message;
- this.code = code;
-}
-
-// Inherit from `Error`.
-UserInfoError.prototype.__proto__ = Error.prototype;
-
-
-// Expose constructor.
-module.exports = UserInfoError;