util/errors.JOSEError
A generic Error subclass that all other specific JOSE Error subclasses inherit from.
-
Error
↳
JOSEError
↳↳
JWEInvalid
↳↳
JWSInvalid
↳↳
JWTInvalid
↳↳
JWKInvalid
↳↳
JWKSInvalid
• new JOSEError(message?
)
Name | Type |
---|---|
message? |
string |
Error.constructor
• code: string
A unique error code for the particular error subclass.
▪ Static
code: string
= 'ERR_JOSE_GENERIC'
A unique error code for the particular error subclass.