#[non_exhaustive]pub enum GraphFlowError {
Show 15 variants
NodeExecutionError(BoxDynError),
Backend(BoxDynError),
MissingService(NodeIndex),
Service(GraphServiceError),
Codec(BoxDynError),
Metadata(BoxDynError),
DependenciesNotReady,
MissingDependencyTaskId(NodeIndex),
TaskResultNotFound(NodeIndex),
DependencyTaskFailed(String),
UnexpectedResponseType,
InputCountMismatch {
expected: usize,
actual: usize,
},
EntryFanOutIncomplete,
CyclicDAG(Cycle<NodeIndex>),
MetadataError(GraphFlowContextError),
}Expand description
Errors that can occur during Graph workflow execution.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NodeExecutionError(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(GraphServiceError)
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>)
Graph contains cycles.
MetadataError(GraphFlowContextError)
Metadata error
Trait Implementations§
Source§impl Debug for GraphFlowError
impl Debug for GraphFlowError
Source§impl Display for GraphFlowError
impl Display for GraphFlowError
Source§impl Error for GraphFlowError
impl Error for GraphFlowError
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()