jose/docs/classes/util_errors.JWSInvalid.md
2021-10-06 16:12:59 +02:00

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.