mirror of
https://github.com/danbulant/jose
synced 2026-05-21 13:28:45 +00:00
1.8 KiB
1.8 KiB
Class: JOSEError
util/errors.JOSEError
A generic Error subclass that all other specific JOSE Error subclasses inherit from.
Hierarchy
-
Error↳ JOSEError
↳↳ JWEInvalid
↳↳ JWSInvalid
↳↳ JWTInvalid
↳↳ JWKInvalid
↳↳ JWKSInvalid
Table of contents
Constructors
Properties
Constructors
constructor
• new JOSEError(message?)
Parameters
| Name | Type |
|---|---|
message? |
string |
Overrides
Error.constructor
Defined in
Properties
code
• code: string
A unique error code for the particular error subclass.
Defined in
code
▪ Static code: string = 'ERR_JOSE_GENERIC'
A unique error code for the particular error subclass.