Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 704 Bytes

File metadata and controls

33 lines (19 loc) · 704 Bytes

Class: JOSEError

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


A generic Error that all other JOSE specific Error subclasses extend.

Example

Checking thrown error is a JOSE one

if (err instanceof jose.errors.JOSEError) {
  // ...
}

Table of contents

Properties

Properties

code

• code: string = 'ERR_JOSE_GENERIC'

A unique error code for this particular error subclass.