A generic Error subclass that all other specific JOSE Error subclasses inherit from.
• new JOSEError(message?
)
Name | Type |
---|---|
message? |
string |
• code: string
= 'ERR_JOSE_GENERIC'
A unique error code for the particular error subclass.
• Static
get
code(): string
A unique error code for the particular error subclass.
string