由节点引发以中断执行。

继承关系 (查看完整)

构造函数

属性

cause?: unknown
interrupts: Interrupt[]
lc_error_code?: string
message: string
name: string
stack?: string
prepareStackTrace?: ((错误, 堆栈跟踪) => any)

格式化堆栈跟踪的可选覆盖

类型声明

    • (错误, 堆栈跟踪): any
    • 参数

      • 错误: Error
      • 堆栈跟踪: CallSite[]

      返回值 any

stackTraceLimit: number

访问器

  • get is_bubble_up(): boolean
  • 返回值 boolean

  • get unminifiable_name(): string
  • 返回值 string

方法

  • 在目标对象上创建 .stack 属性

    参数

    • 目标对象: object
    • 可选 constructorOpt: Function

    返回值 void