pub enum DispatchError {
Show 13 variants
SequenceOverflow,
Authority(AuthorityError),
ScheduledPromotion(AuthorityPromotionError<AuthorityError>),
RetryPromotion(RunInstanceError),
Derivation(DerivationError),
SnapshotBuild(SnapshotMappingError),
SnapshotWrite(SnapshotWriterError),
SnapshotInit(String),
StateInconsistency {
run_id: RunId,
context: String,
},
InvalidBackoffConfig,
DependencyCycle(CycleError),
RetryDecision(RetryDecisionError),
SubmissionRejected {
task_id: TaskId,
context: String,
},
}Expand description
Errors that can occur during dispatch.
Variants§
SequenceOverflow
WAL sequence counter overflow.
Authority(AuthorityError)
A mutation command submitted to the storage authority failed.
ScheduledPromotion(AuthorityPromotionError<AuthorityError>)
Scheduled-to-ready promotion via authority failed.
RetryPromotion(RunInstanceError)
RetryWait-to-ready promotion failed due to an invalid state transition.
Derivation(DerivationError)
Run derivation from a task’s run policy failed.
SnapshotBuild(SnapshotMappingError)
Snapshot build from projection failed.
SnapshotWrite(SnapshotWriterError)
Snapshot I/O failed during write or close.
SnapshotInit(String)
Snapshot writer initialization failed.
StateInconsistency
Internal state inconsistency (e.g., task not found after run transition).
Fields
InvalidBackoffConfig
Backoff strategy configuration is invalid (e.g., base exceeds max).
DependencyCycle(CycleError)
Dependency declaration would introduce a cycle in the task DAG.
RetryDecision(RetryDecisionError)
Retry decision from attempt outcome violated retry invariants.
SubmissionRejected
A dynamically submitted task was rejected (parent not found or terminal).