mirror of
https://github.com/danbulant/jose
synced 2026-05-19 12:29:04 +00:00
737 B
737 B
Class: JOSEError
A generic Error subclass that all other specific JOSE Error subclasses inherit from.
Table of contents
Constructors
Properties
Accessors
Constructors
constructor
• new JOSEError(message?)
Parameters
| Name | Type |
|---|---|
message? |
string |
Properties
code
• code: string = 'ERR_JOSE_GENERIC'
A unique error code for the particular error subclass.
Accessors
code
• Static get code(): string
A unique error code for the particular error subclass.
Returns
string