jose/docs/classes/util_errors.josenotsupported.md
2021-03-18 07:51:50 +01:00

1.2 KiB

Class: JOSENotSupported

util/errors.JOSENotSupported

An error subclass thrown when a particular feature or algorithm is not supported by this implementation or JOSE in general.

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

+ new JOSENotSupported(message?: string): JOSENotSupported

Parameters:

Name Type
message? string

Returns: JOSENotSupported

Inherited from: JOSEError

Defined in: util/errors.ts:11

Properties

code

code: string= 'ERR_JOSE_NOT_SUPPORTED'

A unique error code for the particular error subclass.

Overrides: JOSEError.code

Defined in: util/errors.ts:57