File: util_errors.JWTInvalid.md

package info (click to toggle)
node-jose 4.11.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 4,264 kB
  • sloc: javascript: 16,258; sh: 111; makefile: 4
file content (51 lines) | stat: -rw-r--r-- 792 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Class: JWTInvalid

[💗 Help the project](https://github.com/sponsors/panva)

An error subclass thrown when a JWT is invalid.

## Table of contents

### Constructors

- [constructor](util_errors.JWTInvalid.md#constructor)

### Properties

- [code](util_errors.JWTInvalid.md#code)

### Accessors

- [code](util_errors.JWTInvalid.md#code-1)

## 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"``