Files
claude_code_src/node_modules/jsonwebtoken/lib/JsonWebTokenError.js
jiancheng 8776fff897 init
Signed-off-by: jiancheng <1729303158@qq.com>
2026-03-31 21:14:17 +08:00

15 lines
428 B
JavaScript

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;