An error subclass thrown when a JWT is invalid.
• new JWTInvalid(message?
)
Name | Type |
---|---|
message? |
string |
• code: string
= 'ERR_JWT_INVALID'
A unique error code for the particular error subclass.
• Static
get
code(): "ERR_JWT_INVALID"
A unique error code for the particular error subclass.
"ERR_JWT_INVALID"