initial commit - far from runnable
This commit is contained in:
commit
db057ce342
8614 changed files with 1032171 additions and 0 deletions
14
node_modules/jsonwebtoken/lib/JsonWebTokenError.js
generated
vendored
Normal file
14
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue