jose/docs/classes/util_errors.JOSEAlgNotAllowed.md
2021-10-14 12:06:19 +02:00

49 lines
832 B
Markdown

# Class: JOSEAlgNotAllowed
An error subclass thrown when a JOSE Algorithm is not allowed per developer preference.
## Table of contents
### Constructors
- [constructor](util_errors.JOSEAlgNotAllowed.md#constructor)
### Properties
- [code](util_errors.JOSEAlgNotAllowed.md#code)
### Accessors
- [code](util_errors.JOSEAlgNotAllowed.md#code)
## Constructors
### constructor
**new JOSEAlgNotAllowed**(`message?`)
#### Parameters
| Name | Type |
| :------ | :------ |
| `message?` | `string` |
## Properties
### code
**code**: `string` = `'ERR_JOSE_ALG_NOT_ALLOWED'`
A unique error code for the particular error subclass.
## Accessors
### code
`Static` `get` **code**(): ``"ERR_JOSE_ALG_NOT_ALLOWED"``
A unique error code for the particular error subclass.
#### Returns
``"ERR_JOSE_ALG_NOT_ALLOWED"``