mirror of
https://github.com/danbulant/jose
synced 2026-05-19 20:38:42 +00:00
1.4 KiB
1.4 KiB
Class: JOSEError
A generic Error subclass that all other specific JOSE Error subclasses inherit from.
Index
Constructors
Properties
Constructors
constructor
+ new JOSEError(message?: string): JOSEError
Defined in src/util/errors.ts:11
Parameters:
| Name | Type |
|---|---|
message? |
string |
Returns: JOSEError
Properties
code
• code: string = "ERR_JOSE_GENERIC"
Defined in src/util/errors.ts:11
A unique error code for the particular error subclass.
message
• message: string
Defined in node_modules/typescript/lib/lib.es5.d.ts:974
name
• name: string
Defined in node_modules/typescript/lib/lib.es5.d.ts:973
stack
• Optional stack: string
Defined in node_modules/typescript/lib/lib.es5.d.ts:975
Error
▪ Static Error: ErrorConstructor
Defined in node_modules/typescript/lib/lib.es5.d.ts:984