#[non_exhaustive]pub enum ErrorKind {
Show 16 variants
InvalidRequest,
Unauthorized,
Forbidden,
ContentTooLarge,
StoragePermissionDenied,
NotSupported,
NotFound,
MethodNotAllowed,
Gone,
AlreadyExists,
Conflict,
DeadlineExceeded,
Unavailable,
OutcomeUnknown,
DataCorruption,
Internal,
}Expand description
The broad caller or operator action required for an error.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidRequest
Fix the request before retrying.
The request is unauthorized and needs different credentials.
Forbidden
The subject is known but lacks a right the operation needs.
ContentTooLarge
The request body exceeds the operation’s size limit and must be smaller.
StoragePermissionDenied
The object store rejected credentials that the operator must fix.
NotSupported
The deployment does not implement the operation and clients must check its capabilities.
NotFound
The requested object does not exist and requires another target or refreshed state.
MethodNotAllowed
The route does not accept this HTTP method.
Gone
The target was deleted and its ID is permanently retired.
AlreadyExists
The create target already exists and requires another ID unless the request is idempotent.
Conflict
The request conflicts with current namespace state and requires refreshed state before retrying.
DeadlineExceeded
The server cancelled work after its deadline, requiring mutation reconciliation before retrying.
An unavailable condition that may require retry or maintenance.
OutcomeUnknown
The operation may have committed and requires retry with the same commit ID or reconciliation.
DataCorruption
Durable state is malformed and requires operator repair.
Internal
LoonFS encountered an internal failure that should be reported with details.