Skip to Content

Class MemcoResourceExhaustedError

An allowance ran out.

Read kind before retrying: a rate limit clears on a backoff, a quota will not refill on one, and ResourceExhaustedKind.UNKNOWN means the message did not say — treat it as a rate limit.

The transport does not retry this on the caller's behalf, precisely because which of the two it is decides whether retrying is worth anything, and only the caller can act on that.

Hierarchy (View Summary)

Index
code: Status

The gRPC status code, as @grpc/grpc-js's numeric status enum.

codeName: string

The status code's name, such as UNAUTHENTICATED.

detail: string

The service's own description of the failure, without the code prefix.

debugErrorString: string | undefined

gRPC's internal diagnostic string, when the call carried one.

Whether a rate limit or a longer-window quota was reached.