Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ZapError

Hierarchy

Index

Constructors

  • new ZapError(message: string, error_code: string): ZapError

Properties

cause?: Error
error_code: string
error_type: string
message: string
name: string
stack?: string
ZAP_IN: string = "zap_in"
ZAP_IN_APPROVAL: string = "zap_in_approval"
ZAP_IN_APPROVAL_STATE: string = "zap_in_approval_state"
ZAP_OUT: string = "zap_out"
ZAP_OUT_APPROVAL: string = "zap_out_approval"
ZAP_OUT_APPROVAL_STATE: string = "zap_out_approval_state"
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Type declaration

stackTraceLimit: number

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc