Skip to Content

Class MemcoInternalError

The service failed in a way it does not describe to callers.

Also where any status this SDK maps to no class of its own lands. Either way it is not the caller's bug, and there is nothing in the request to fix. MemcoAPIError.codeName says which status arrived — a code @grpc/grpc-js does not recognise reads as UNKNOWN — and is what to log alongside detail.

Nothing here says the call would have succeeded a moment later, so this is not the one to put a backoff loop around.

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.