Raised by a node to interrupt execution.

Hierarchy (view full)

Constructors

Properties

interrupts: Interrupt[]
lc_error_code?: string
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number

Accessors

  • get is_bubble_up(): boolean
  • Returns boolean

  • get unminifiable_name(): string
  • Returns string

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void