pub enum WorkflowError {
NoOutputs,
MissingDependency {
node: usize,
dependency: usize,
},
TypeMismatch {
node: usize,
},
Cycle,
MissingInput(Box<str>),
InputType {
name: Box<str>,
expected: &'static str,
},
Cancelled,
MemoryRefused {
estimated: usize,
budget: usize,
},
Operation {
operation: &'static str,
message: Box<str>,
},
InternalTypeMismatch {
expected: &'static str,
},
ResultType {
name: Box<str>,
},
MissingResult(Box<str>),
}Expand description
Workflow compilation or execution failure.
Variants§
NoOutputs
The graph has no named outputs.
MissingDependency
A dependency index is invalid.
TypeMismatch
A dependency type does not match the operation signature.
Cycle
A cycle prevents stable topological execution.
MissingInput(Box<str>)
A required named input was not supplied.
InputType
A named input has the wrong concrete type.
Cancelled
Execution was cancelled between nodes.
MemoryRefused
Static output-lifetime planning exceeds the execution budget.
Operation
A kernel rejected its input or could not produce its result.
InternalTypeMismatch
Internal type validation disagreed with the typed builder.
ResultType
A named result was requested with the wrong type.
MissingResult(Box<str>)
A result handle does not belong to this execution.
Trait Implementations§
Source§impl Debug for WorkflowError
impl Debug for WorkflowError
Source§impl Display for WorkflowError
impl Display for WorkflowError
Source§impl Error for WorkflowError
impl Error for WorkflowError
1.30.0 · 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()
Source§impl From<&WorkflowError> for Diagnostic
impl From<&WorkflowError> for Diagnostic
Source§fn from(error: &WorkflowError) -> Self
fn from(error: &WorkflowError) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowError> for Diagnostic
impl From<WorkflowError> for Diagnostic
Source§fn from(value: WorkflowError) -> Self
fn from(value: WorkflowError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkflowError
impl RefUnwindSafe for WorkflowError
impl Send for WorkflowError
impl Sync for WorkflowError
impl Unpin for WorkflowError
impl UnsafeUnpin for WorkflowError
impl UnwindSafe for WorkflowError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more