mirror of
https://github.com/danbulant/jose
synced 2026-05-24 12:35:36 +00:00
44 lines
791 B
Markdown
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.
|