ThrottlingError indicates some capacity limit was exceeded and thus the request could not be served.

Hierarchy (view full)

Constructors

Properties

cause?: unknown
code: string

A code for the error. Codes indicate the cause of the error. It is safe to write programmatic logic against the code. They are part of the API contract.

constraint_failures?: ConstraintFailure[]

A machine readable description of any constraint failures encountered by the query. Present only if this query encountered constraint failures.

httpStatus?: number

The HTTP Status Code of the error.

message: string
name: string
queryInfo?: QueryInfo

Details about the query sent along with the response

stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void