mirror of
https://github.com/danbulant/jose
synced 2026-05-19 12:29:04 +00:00
832 B
832 B
Class: JOSEAlgNotAllowed
An error subclass thrown when a JOSE Algorithm is not allowed per developer preference.
Table of contents
Constructors
Properties
Accessors
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"