mirror of
https://github.com/danbulant/jose
synced 2026-05-19 20:38:42 +00:00
1.3 KiB
1.3 KiB
Class: JWTInvalid
An error subclass thrown when a JWT is invalid.
Index
Constructors
Properties
Constructors
constructor
+ new JWTInvalid(message?: string): JWTInvalid
Defined in src/util/errors.ts:11
Parameters:
| Name | Type |
|---|---|
message? |
string |
Returns: JWTInvalid
Properties
code
• code: string = "ERR_JWT_INVALID"
Defined in src/util/errors.ts:87
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