UNPKG

@guarani/jose

Version:

Implementation of the RFCs of the JOSE Working Group.

17 lines (16 loc) 590 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UnsupportedEllipticCurveException = void 0; const jose_exception_1 = require("./jose.exception"); /** * Raised when the provided Elliptic Curve is not supported. */ class UnsupportedEllipticCurveException extends jose_exception_1.JoseException { /** * Returns the default Error Message of the JOSE Exception. */ getDefaultMessage() { return 'The provided Elliptic Curve is not supported.'; } } exports.UnsupportedEllipticCurveException = UnsupportedEllipticCurveException;