loulijun2021
2024-05-09 764ad15473528c6c327d37c04f279e70bea3cb6f
1
2
3
4
5
6
7
8
9
10
11
12
13
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;