@guarani/jose
Version:
Implementation of the RFCs of the JOSE Working Group.
17 lines (16 loc) • 614 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.JsonWebKeyNotFoundException = void 0;
const jose_exception_1 = require("./jose.exception");
/**
* Raised when the requested JSON Web Key is not registered at the JSON Web Key Set.
*/
class JsonWebKeyNotFoundException extends jose_exception_1.JoseException {
/**
* Returns the default Error Message of the JOSE Exception.
*/
getDefaultMessage() {
return 'The requested JSON Web Key is not registered at the JSON Web Key Set.';
}
}
exports.JsonWebKeyNotFoundException = JsonWebKeyNotFoundException;