Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PushError

Push error

Hierarchy

  • Error
    • PushError

Index

Constructors

constructor

  • new PushError(frameUID: string, nodeUID: string, error: Error): PushError

Properties

frameUID

frameUID: string

Frame subject

message

message: string

name

name: string

nodeUID

nodeUID: string

Node that triggered the error

Optional prepareStackTrace

prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

see

https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces

Type declaration

    • (err: Error, stackTraces: CallSite[]): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

Optional stack

stack: string

stackTraceLimit

stackTraceLimit: number

Methods

captureStackTrace

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

    Parameters

    • targetObject: Object
    • Optional constructorOpt: Function

    Returns void