Class PromiseTimeoutError

An error thrown by wrapPromiseInTimeout when the timeout is reached.

Hierarchy

  • Error
    • PromiseTimeoutError

Constructors

Properties

Constructors

Properties

duration: Partial<Record<DurationUnit, undefined | number>>
name: "PromiseTimeoutError" = 'PromiseTimeoutError'