An error thrown when an admin operation timed out.

Depending on the method, this may be a request timeout occurring during a specific HTTP request, or can happen over the course of a method involving several requests in a row, such as a blocking createDatabase.

Field

url - The URL that the request was made to.

Field

timeout - The timeout that was set for the operation, in milliseconds.

Hierarchy (view full)

Constructors

Properties

message: string
name: string
stack?: string
timeout: number

The timeout that was set for the operation, in milliseconds.

url: string

The URL that the request was made to.

prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void