Files
pole-book/server/node_modules/jwks-rsa/src/errors/JwksError.js

11 lines
293 B
JavaScript

function JwksError(message) {
Error.call(this, message);
Error.captureStackTrace(this, this.constructor);
this.name = 'JwksError';
this.message = message;
}
JwksError.prototype = Object.create(Error.prototype);
JwksError.prototype.constructor = JwksError;
module.exports = JwksError;