pub enum MutationJobError {
Show 20 variants
InvalidJobId,
InvalidIdempotencyKey,
IdentityConflict,
NotFound,
StaleSequence {
expected: u64,
actual: u64,
},
Active,
Completed,
RestartRequired(MutationJobRestartReason),
PayloadTooLarge {
kind: MutationJobPayloadKind,
limit: u64,
observed: u64,
},
AuthorityMismatch,
IneligibleIntent,
CapacityExceeded,
CounterOverflow,
CorruptProgressStore,
IncompatibleProgressFormat,
CommitCorruption,
TargetMutationFailed,
TargetQueryFailed,
Internal,
ExecutionBudgetExceeded {
resource: u64,
limit: u64,
observed: u64,
scope: u64,
lane: u64,
normalized_shape_fingerprint_prefix: u64,
},
}Expand description
Typed mutation-job protocol, lifecycle, or persistence failure.
Variants§
InvalidJobId
Job identity was all zeroes.
InvalidIdempotencyKey
Idempotency key was empty or exceeded its byte bound.
IdentityConflict
A retained job id was reused for different canonical meaning.
NotFound
The requested job does not exist.
StaleSequence
The request did not name the job’s current sequence.
Active
Acknowledgement targeted an active job.
Completed
A non-replay advance targeted a completed job.
RestartRequired(MutationJobRestartReason)
A non-replay advance targeted a job that must restart.
PayloadTooLarge
A bounded persisted component exceeded its engine-owned limit.
AuthorityMismatch
Current accepted authority no longer matches the frozen intent.
IneligibleIntent
The requested mutation cannot be represented by the fixed-intent engine.
CapacityExceeded
The shared excluded progress store reached its hard capacity.
CounterOverflow
A checked sequence or cumulative counter would overflow.
CorruptProgressStore
Retained progress bytes or their state closure were corrupt.
IncompatibleProgressFormat
Retained progress bytes use an unsupported format version.
CommitCorruption
Commit or recovery evidence cannot prove one exact transition.
TargetMutationFailed
Target mutation execution failed before progress committed.
TargetQueryFailed
Target traversal failed before progress committed.
Internal
An internal database invariant prevented the operation.
ExecutionBudgetExceeded
The enclosing request exhausted aggregate IcyDB work allowance.
Trait Implementations§
Source§impl CandidType for MutationJobError
impl CandidType for MutationJobError
Source§impl Clone for MutationJobError
impl Clone for MutationJobError
Source§fn clone(&self) -> MutationJobError
fn clone(&self) -> MutationJobError
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 MutationJobError
impl Debug for MutationJobError
Source§impl<'de> Deserialize<'de> for MutationJobError
impl<'de> Deserialize<'de> for MutationJobError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for MutationJobError
impl Display for MutationJobError
impl Eq for MutationJobError
Source§impl Error for MutationJobError
impl Error for MutationJobError
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()