mirror of
https://github.com/danbulant/jose
synced 2026-05-19 20:38:42 +00:00
44 lines
700 B
Markdown
44 lines
700 B
Markdown
# Class: JWSInvalid
|
|
|
|
[util/errors](../modules/util_errors.md).JWSInvalid
|
|
|
|
An error subclass thrown when a JWS is invalid.
|
|
|
|
## Table of contents
|
|
|
|
### Constructors
|
|
|
|
- [constructor](util_errors.JWSInvalid.md#constructor)
|
|
|
|
### Properties
|
|
|
|
- [code](util_errors.JWSInvalid.md#code)
|
|
- [code](util_errors.JWSInvalid.md#code)
|
|
|
|
## Constructors
|
|
|
|
### constructor
|
|
|
|
• **new JWSInvalid**(`message?`)
|
|
|
|
#### Parameters
|
|
|
|
| Name | Type |
|
|
| :------ | :------ |
|
|
| `message?` | `string` |
|
|
|
|
## Properties
|
|
|
|
### code
|
|
|
|
• **code**: `string`
|
|
|
|
A unique error code for the particular error subclass.
|
|
|
|
___
|
|
|
|
### code
|
|
|
|
▪ `Static` **code**: `string` = `'ERR_JWS_INVALID'`
|
|
|
|
A unique error code for the particular error subclass.
|