#[non_exhaustive]pub enum RuntimeStoreError {
Show 14 variants
WriteFailed(String),
ReadFailed(String),
SessionKeyMismatch {
expected: SessionId,
actual: SessionId,
},
NotFound(String),
Unsupported(String),
OpsLifecycleEpochRetired {
runtime_id: String,
epoch_id: RuntimeEpochId,
},
UnregisterFinalizationOutcomeUnknown(String),
TranscriptRevisionConflict {
expected: String,
actual: String,
},
SessionSnapshotSuperseded {
runtime_id: String,
},
InvalidInputStateBatchCas {
reason: String,
},
MachineLifecycleRepairBlocked {
evidence_digest: Option<String>,
detail: String,
},
SchemaFromTheFuture {
domain: String,
found: i64,
supported: i64,
},
MaintenanceFenceHeld {
path: String,
},
Internal(String),
}Expand description
Errors from RuntimeStore operations.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
WriteFailed(String)
Write failed.
ReadFailed(String)
Read failed.
SessionKeyMismatch
The explicit session-store key does not match the serialized session.
NotFound(String)
Not found.
Unsupported(String)
Operation is not supported by this store implementation.
OpsLifecycleEpochRetired
A detached producer attempted to persist an ops snapshot after the matching epoch was atomically retired by unregister.
UnregisterFinalizationOutcomeUnknown(String)
An unregister-finalization commit may have become durable, but the backend could not authoritatively classify its outcome.
Callers must retry the idempotent atomic finalization and must not publish a compensating lifecycle rollback for this error.
TranscriptRevisionConflict
Runtime snapshot CAS rejected a stale transcript rewrite.
SessionSnapshotSuperseded
An atomic boundary commit carried a session snapshot that was already superseded by the durable append-only head. Callers must observe this as a failed commit rather than mistaking a no-op for publication.
InvalidInputStateBatchCas
The requested exact input-state batch CAS has an invalid row/key shape.
MachineLifecycleRepairBlocked
A lifecycle record was observed exactly, but replacing it would risk lowering or fabricating durable runtime fencing authority.
This is a permanent reconciliation result for the observed row, not a transport retry. Callers should project RepairBlocked while retaining the evidence digest for operator repair.
SchemaFromTheFuture
The file’s schema ledger records a version newer than this binary supports: a newer binary migrated the file and this one must refuse it (typed, health-visible refusal — never a crash loop).
MaintenanceFenceHeld
The exclusive maintenance fence is held for this database; storage is under offline maintenance.
Internal(String)
Internal error.
Trait Implementations§
Source§impl Clone for RuntimeStoreError
impl Clone for RuntimeStoreError
Source§fn clone(&self) -> RuntimeStoreError
fn clone(&self) -> RuntimeStoreError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RuntimeStoreError
impl Debug for RuntimeStoreError
Source§impl Display for RuntimeStoreError
impl Display for RuntimeStoreError
Source§impl Error for RuntimeStoreError
impl Error for RuntimeStoreError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()