Class MemcoTimeoutError
Hierarchy (View Summary)
- MemcoAPIError
- MemcoTimeoutError
Constructors
constructor
-
Parameters
- code: Status
- detail: string
OptionaldebugErrorString: string
Returns MemcoTimeoutError
Properties
Readonlycode
code: Status
The gRPC status code, as @grpc/grpc-js's numeric status enum.
ReadonlycodeName
codeName: string
The status code's name, such as UNAUTHENTICATED.
Readonlydetail
detail: string
The service's own description of the failure, without the code prefix.
ReadonlydebugErrorString
debugErrorString: string | undefined
gRPC's internal diagnostic string, when the call carried one.
The deadline passed before the service answered.
The deadline is the caller's own — the
timeouton the call, else the one the client was built with, else DEFAULT_TIMEOUT seconds — which is why the transport does not retry this: a second attempt against the same deadline has no more time than the first. Raise the deadline, or ask for less.It says nothing about whether the service acted. A write that timed out may still have been recorded, so sending it again can write it twice.