A generic Error subclass that all other specific JOSE Error subclasses inherit from.
+ new JOSEError(message?: string): JOSEError
Defined in src/util/errors.ts:11
| Name | Type |
|---|---|
message? |
string |
Returns: JOSEError
• code: string = "ERR_JOSE_GENERIC"
Defined in src/util/errors.ts:11
A unique error code for the particular error subclass.
• message: string
Defined in node_modules/typescript/lib/lib.es5.d.ts:974
• name: string
Defined in node_modules/typescript/lib/lib.es5.d.ts:973
• Optional stack: string
Defined in node_modules/typescript/lib/lib.es5.d.ts:975
▪ Static Error: ErrorConstructor
Defined in node_modules/typescript/lib/lib.es5.d.ts:984