An Error type representing a timeout, as when a Timer elapses.

Hierarchy

  • Error
    • Timeout

Constructors

Properties

cause?: unknown
message: string
ms: number
name: string
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Accessors

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void