Class MemcoAPIError
Hierarchy (View Summary)
Constructors
constructor
-
Parameters
- code: Status
- detail: string
OptionaldebugErrorString: string
Returns MemcoAPIError
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.
Base of every failure the service reported.
See
fromServiceError for how a gRPC status becomes one of these.