Skip to content

Latest commit

 

History

History
50 lines (27 loc) · 737 Bytes

util_errors.JOSEError.md

File metadata and controls

50 lines (27 loc) · 737 Bytes

Class: JOSEError

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

Table of contents

Constructors

Properties

Accessors

Constructors

constructor

new JOSEError(message?)

Parameters

Name Type
message? string

Properties

code

code: string = 'ERR_JOSE_GENERIC'

A unique error code for the particular error subclass.

Accessors

code

Static get code(): string

A unique error code for the particular error subclass.

Returns

string