jose/docs/classes/util_errors.joseerror.md
2021-05-14 11:49:42 +02:00

1.9 KiB

Class: JOSEError

util/errors.JOSEError

A generic Error subclass that all other specific JOSE Error subclasses inherit from.

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

+ new JOSEError(message?: string): JOSEError

Parameters

Name Type
message? string

Returns: JOSEError

Overrides: Error.constructor

Defined in: util/errors.ts:16

Properties

code

code: string

A unique error code for the particular error subclass.

Defined in: util/errors.ts:16


code

Static code: string= 'ERR_JOSE_GENERIC'

A unique error code for the particular error subclass.

Defined in: util/errors.ts:11