Skip to content

Latest commit

 

History

History
76 lines (42 loc) · 1.4 KB

File metadata and controls

76 lines (42 loc) · 1.4 KB

Class: JOSEError

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

Index

Constructors

Properties

Constructors

constructor

+ new JOSEError(message?: string): JOSEError

Defined in src/util/errors.ts:11

Parameters:

Name Type
message? string

Returns: JOSEError

Properties

code

code: string = "ERR_JOSE_GENERIC"

Defined in src/util/errors.ts:11

A unique error code for the particular error subclass.


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


Error

Static Error: ErrorConstructor

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