Class MemcoNotFoundError
Hierarchy (View Summary)
- MemcoAPIError
- MemcoNotFoundError
Constructors
constructor
-
new MemcoNotFoundError(
code: Status,
detail: string,
debugErrorString?: string,
): MemcoNotFoundErrorParameters
- code: Status
- detail: string
OptionaldebugErrorString: string
Returns MemcoNotFoundError
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.
Nothing answers to the handle that was given.
Sending the same handle again will not find it. An idx or an operation id comes back on a response and cannot be constructed by hand, so one that was invented or edited lands here.
Not every absence arrives as an error: MemoryOperations.revertMemory reports an operation id that answers to nothing as a successful call carrying RevertOutcome.NOT_FOUND.
Prefer
error.name === 'MemcoNotFoundError'toinstanceof, for the reason this module's header gives.