Skip to content

Latest commit

 

History

History
49 lines (26 loc) · 730 Bytes

util_errors.JWTInvalid.md

File metadata and controls

49 lines (26 loc) · 730 Bytes

Class: JWTInvalid

An error subclass thrown when a JWT is invalid.

Table of contents

Constructors

Properties

Accessors

Constructors

constructor

new JWTInvalid(message?)

Parameters

Name Type
message? string

Properties

code

code: string = 'ERR_JWT_INVALID'

A unique error code for the particular error subclass.

Accessors

code

Static get code(): "ERR_JWT_INVALID"

A unique error code for the particular error subclass.

Returns

"ERR_JWT_INVALID"