Skip to content

Latest commit

 

History

History
51 lines (27 loc) · 799 Bytes

util_errors.JOSEError.md

File metadata and controls

51 lines (27 loc) · 799 Bytes

Class: JOSEError

💗 Help the project

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