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

44 lines
791 B
Markdown

# Class: JOSEAlgNotAllowed
[util/errors](../modules/util_errors.md).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)
- [code](util_errors.JOSEAlgNotAllowed.md#code)
## Constructors
### constructor
**new JOSEAlgNotAllowed**(`message?`)
#### Parameters
| Name | Type |
| :------ | :------ |
| `message?` | `string` |
## Properties
### code
**code**: `string`
A unique error code for the particular error subclass.
___
### code
`Static` **code**: `string` = `'ERR_JOSE_ALG_NOT_ALLOWED'`
A unique error code for the particular error subclass.