mirror of
https://github.com/danbulant/jose
synced 2026-05-19 04:18:52 +00:00
1.9 KiB
1.9 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.