Class TimeoutError

Error thrown when the request is aborted due to a timeout.

Hierarchy

  • Error
    • TimeoutError

Constructors

Properties

message: string
name: "TimeoutError" = ...
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