mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2025-09-23 13:50:19 +00:00
push all website files
This commit is contained in:
14
website/node_modules/jsonwebtoken/lib/JsonWebTokenError.js
generated
vendored
Normal file
14
website/node_modules/jsonwebtoken/lib/JsonWebTokenError.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
var JsonWebTokenError = function (message, error) {
|
||||
Error.call(this, message);
|
||||
if(Error.captureStackTrace) {
|
||||
Error.captureStackTrace(this, this.constructor);
|
||||
}
|
||||
this.name = 'JsonWebTokenError';
|
||||
this.message = message;
|
||||
if (error) this.inner = error;
|
||||
};
|
||||
|
||||
JsonWebTokenError.prototype = Object.create(Error.prototype);
|
||||
JsonWebTokenError.prototype.constructor = JsonWebTokenError;
|
||||
|
||||
module.exports = JsonWebTokenError;
|
Reference in New Issue
Block a user