Error thrown by handler callbacks

Hierarchy

  • Error
    • CallbackError

Constructors

Properties

cause?: unknown
details: ErrorDetail[]

List with full error details objects received from the PFI server response

message: string
name: string
stack?: string
statusCode: number

Error HTTP Response status code: 400 - Bad Request, 401 - Unauthorized, 500 etc.

prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void