mirror of
https://github.com/danbulant/jose
synced 2026-05-19 04:18:52 +00:00
49 lines
832 B
Markdown
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"``
|