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

50 lines
857 B
Markdown

# Class: JOSENotSupported
An error subclass thrown when a particular feature or algorithm is not supported by this
implementation or JOSE in general.
## Table of contents
### Constructors
- [constructor](util_errors.JOSENotSupported.md#constructor)
### Properties
- [code](util_errors.JOSENotSupported.md#code)
### Accessors
- [code](util_errors.JOSENotSupported.md#code)
## Constructors
### constructor
**new JOSENotSupported**(`message?`)
#### Parameters
| Name | Type |
| :------ | :------ |
| `message?` | `string` |
## Properties
### code
**code**: `string` = `'ERR_JOSE_NOT_SUPPORTED'`
A unique error code for the particular error subclass.
## Accessors
### code
`Static` `get` **code**(): ``"ERR_JOSE_NOT_SUPPORTED"``
A unique error code for the particular error subclass.
#### Returns
``"ERR_JOSE_NOT_SUPPORTED"``