Describes a timeout error.

Hierarchy

  • Error
    • TimeoutError

Constructors

  • Initializes a new instance of that class.

    Parameters

    • maximumTime: number

      The maximum time in milliseconds for the operation.

    • Optional message: string

      The custom message.

    • Optional innerError: any

      The inner error.

    Returns TimeoutError

Properties

innerError?: any

The inner error.

maximumTime: number

The maximum time in milliseconds for the operation.

message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc