jose/docs/classes/util_errors.JOSEAlgNotAllowed.md
2021-08-20 22:40:04 +02:00

1.5 KiB

Class: JOSEAlgNotAllowed

util/errors.JOSEAlgNotAllowed

An error subclass thrown when a JOSE Algorithm is not allowed per developer preference.

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new JOSEAlgNotAllowed(message?)

Parameters

Name Type
message? string

Inherited from

JOSEError.constructor

Defined in

util/errors.ts:16

Properties

code

code: string

A unique error code for the particular error subclass.

Overrides

JOSEError.code

Defined in

util/errors.ts:56


code

Static code: string = 'ERR_JOSE_ALG_NOT_ALLOWED'

A unique error code for the particular error subclass.

Overrides

JOSEError.code

Defined in

util/errors.ts:54