Skip to Content

Class MemcoNotFoundError

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' to instanceof, for the reason this module's header gives.

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.