Hierarchy

  • JOSEError
    • JoseError

Constructors

  • Parameters

    • Optional message: string

    Returns JoseError

Properties

cause?: unknown
code: string

A unique error code for the particular error subclass.

message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Accessors

  • get code(): string
  • A unique error code for the particular error subclass.

    Returns string

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc