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

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"