mirror of
https://github.com/danbulant/jose
synced 2026-05-19 20:38:42 +00:00
1.5 KiB
1.5 KiB
Class: JOSEAlgNotAllowed
util/errors.JOSEAlgNotAllowed
An error subclass thrown when a JOSE Algorithm is not allowed per developer preference.
Hierarchy
-
↳ JOSEAlgNotAllowed
Table of contents
Constructors
Properties
Constructors
constructor
+ new JOSEAlgNotAllowed(message?: string): JOSEAlgNotAllowed
Parameters
| Name | Type |
|---|---|
message? |
string |
Returns: JOSEAlgNotAllowed
Inherited from: JOSEError
Defined in: util/errors.ts:16
Properties
code
• code: string
A unique error code for the particular error subclass.
Defined in: util/errors.ts:58
code
▪ Static code: string= 'ERR_JOSE_ALG_NOT_ALLOWED'
A unique error code for the particular error subclass.
Defined in: util/errors.ts:56