pub enum DagFlowError {
Show 14 variants
Node(BoxDynError),
Backend(BoxDynError),
MissingService(NodeIndex),
Service(BoxDynError),
Codec(BoxDynError),
Metadata(BoxDynError),
DependenciesNotReady,
MissingDependencyTaskId(NodeIndex),
TaskResultNotFound(NodeIndex),
DependencyTaskFailed(String),
UnexpectedResponseType,
InputCountMismatch {
expected: usize,
actual: usize,
},
EntryFanOutIncomplete,
CyclicDAG(Cycle<NodeIndex>),
}Expand description
Errors that can occur during DAG workflow execution.
Variants§
Node(BoxDynError)
An error originating from the actual node execution.
Backend(BoxDynError)
An error originating from the backend.
MissingService(NodeIndex)
An error originating from the service.
Service(BoxDynError)
An error originating from the service.
Codec(BoxDynError)
An error related to codec operations.
Metadata(BoxDynError)
An error related to metadata operations.
DependenciesNotReady
An error indicating that dependencies are not ready.
MissingDependencyTaskId(NodeIndex)
An error indicating a missing task ID for a dependency node.
TaskResultNotFound(NodeIndex)
An error indicating that a task result was not found for a node.
DependencyTaskFailed(String)
An error indicating that a dependency task has failed.
UnexpectedResponseType
An error indicating an unexpected response type during fan-in.
InputCountMismatch
An error indicating a mismatch in the number of inputs during fan-in.
Fields
EntryFanOutIncomplete
An error indicating that entry fan-out is not completed.
CyclicDAG(Cycle<NodeIndex>)
DAG contains cycles.
Trait Implementations§
Source§impl Debug for DagFlowError
impl Debug for DagFlowError
Source§impl Display for DagFlowError
impl Display for DagFlowError
Source§impl Error for DagFlowError
impl Error for DagFlowError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for DagFlowError
impl !RefUnwindSafe for DagFlowError
impl Send for DagFlowError
impl Sync for DagFlowError
impl Unpin for DagFlowError
impl !UnwindSafe for DagFlowError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more