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

857 B

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

Properties

Accessors

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"