#[non_exhaustive]pub enum ErrorKind {
Show 25 variants
InvalidArgument,
NotReady,
BackendUnavailable,
BackendFailure,
UnsupportedBackendVersion,
NoSuitableDevice,
MissingCapability,
ResourceExhausted,
FailedPrecondition,
OutOfRange,
NotFound,
AlreadyExists,
Aborted,
CallbackFailure,
CheckpointCorrupt,
DataLoss,
Internal,
Io,
Cancelled,
PermissionDenied,
Unimplemented,
Unavailable,
Unauthenticated,
ShapeMismatch,
DtypeMismatch,
}Expand description
Stable category for an OA failure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidArgument
A caller supplied an invalid value, shape, range, or combination.
NotReady
A value or operation has not reached the required completion state.
The selected execution backend could not be loaded.
BackendFailure
An execution-backend operation failed.
UnsupportedBackendVersion
The execution backend is older than OA’s minimum supported version.
NoSuitableDevice
No device satisfies the requested execution contract.
MissingCapability
A required device or runtime capability is unavailable.
ResourceExhausted
A finite runtime identity, counter, or address space was exhausted.
FailedPrecondition
An operation was requested in an incompatible lifecycle state.
OutOfRange
A referenced index or range lies outside its owning object.
NotFound
A requested object or provenance record does not exist.
AlreadyExists
An object with the same identity already exists.
Aborted
Optimistic concurrency rejected work against a stale revision.
CallbackFailure
Application callback policy failed at an explicit lifecycle hook.
CheckpointCorrupt
A persisted OA model/checkpoint failed its wire-format integrity contract.
DataLoss
External encoded data is truncated, malformed, or internally inconsistent.
Internal
OA detected an invalid invariant in its own state.
Io
A host filesystem or stream operation failed.
Cancelled
The operation was cancelled before producing a result.
PermissionDenied
The caller or peer lacks permission for the requested action.
Unimplemented
The requested operation is not implemented by this endpoint.
The endpoint or transport is currently unavailable.
Unauthenticated
Peer authentication failed.
ShapeMismatch
A serialized or exchanged shape contract does not match its consumer.
DtypeMismatch
A serialized or exchanged dtype contract does not match its consumer.