Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimeoutError

TimeoutError

raised when the function is not processed finished in a limit period

Hierarchy

  • Error
    • TimeoutError

Index

Constructors

constructor

  • Parameters

    • Optional message: string

    Returns TimeoutError

Properties

message

message: string

name

name: string

Optional stack

stack: string

Static stackTraceLimit

stackTraceLimit: number

Methods

Static captureStackTrace

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Static Optional prepareStackTrace

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