jwks-rsa
Version:
Library to retrieve RSA public keys from a JWKS endpoint
11 lines (9 loc) • 317 B
JavaScript
function ArgumentError(message) {
Error.call(this, message);
Error.captureStackTrace(this, this.constructor);
this.name = 'ArgumentError';
this.message = message;
}
ArgumentError.prototype = Object.create(Error.prototype);
ArgumentError.prototype.constructor = ArgumentError;
module.exports = ArgumentError;