jose/docs/classes/_util_errors_.joseerror.md
2020-12-17 12:29:05 +01:00

1.4 KiB

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