mirror of
https://github.com/danbulant/jose
synced 2026-05-19 12:29:04 +00:00
1.7 KiB
1.7 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?: string): JOSEError
Parameters:
| Name | Type |
|---|---|
message? |
string |
Returns: JOSEError
Overrides: void
Defined in: util/errors.ts:11
Properties
code
• code: string= 'ERR_JOSE_GENERIC'
A unique error code for the particular error subclass.
Defined in: util/errors.ts:11