jose/docs/classes/_util_errors_.josenotsupported.md
2020-11-15 15:50:46 +01:00

1.4 KiB

Class: JOSENotSupported

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

Index

Constructors

Properties

Constructors

constructor

+ new JOSENotSupported(message?: string): JOSENotSupported

Defined in src/util/errors.ts:11

Parameters:

Name Type
message? string

Returns: JOSENotSupported

Properties

code

code: string = "ERR_JOSE_NOT_SUPPORTED"

Overrides JOSEError.code

Defined in src/util/errors.ts:57


message

message: string

Defined in node_modules/typescript/lib/lib.es5.d.ts:974


name

name: string

Defined in node_modules/typescript/lib/lib.es5.d.ts:973


stack

Optional stack: string

Defined in node_modules/typescript/lib/lib.es5.d.ts:975