#[non_exhaustive]pub enum WorkflowErrorKind {
Show 26 variants
NodeFailed,
NodeInterrupted,
NodeWaitingForOutput,
InvalidRunNodeContext,
InvalidRunId,
ParallelHitlUnsupported,
InputValidation,
OutputValidation,
OutputAlreadyDelegated,
MultipleOutputs,
MultipleRoutingEvents,
MultipleTerminalOutputs,
DuplicateNodeName,
NoStartNode,
NodePointsToStart,
DuplicateEdge,
MultipleDefaultRoutes,
NodesNotReachable,
UnconditionalCycle,
SubWorkflowNameCollision,
UnsupportedFanIn,
InvalidResumeResponse,
NothingToResume,
RetryExhausted,
Persistence,
Other,
}Expand description
The sentinel kinds of WorkflowError.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NodeFailed
A dynamic child node failed.
NodeInterrupted
A dynamic child node was interrupted.
NodeWaitingForOutput
A dynamic child node is waiting for output; also counts as Self::NodeInterrupted.
InvalidRunNodeContext
RunNode was called outside a dynamic node.
InvalidRunId
The run id is invalid.
ParallelHitlUnsupported
Parallel human-in-the-loop interrupts are not supported.
InputValidation
Node input failed validation.
OutputValidation
Output validation failed; also counts as Self::NodeFailed.
OutputAlreadyDelegated
The parent already has a use_as_output delegate.
MultipleOutputs
A node produced more than one event carrying an output value.
MultipleRoutingEvents
A node produced more than one event carrying route tags.
MultipleTerminalOutputs
More than one terminal node produced output.
DuplicateNodeName
Two nodes share a name.
NoStartNode
The graph has no start node.
NodePointsToStart
An edge points to the start node.
DuplicateEdge
The same edge was declared twice.
MultipleDefaultRoutes
A node has more than one default route.
NodesNotReachable
Some nodes are not reachable from the start node.
UnconditionalCycle
The graph has a cycle of unconditional edges.
SubWorkflowNameCollision
Two sub-workflows share a name.
UnsupportedFanIn
Fan-in into a node that is not a join node is not supported.
InvalidResumeResponse
A resume response does not match the request’s schema.
NothingToResume
No waiting node matched the supplied resume responses.
RetryExhausted
Retries were exhausted (Rust-only kind).
Persistence
A persistence operation failed (Rust-only kind).
Other
Any other workflow error (Rust-only kind).
Trait Implementations§
Source§impl Clone for WorkflowErrorKind
impl Clone for WorkflowErrorKind
impl Copy for WorkflowErrorKind
Source§impl Debug for WorkflowErrorKind
impl Debug for WorkflowErrorKind
impl Eq for WorkflowErrorKind
Source§impl PartialEq for WorkflowErrorKind
impl PartialEq for WorkflowErrorKind
impl StructuralPartialEq for WorkflowErrorKind
Auto Trait Implementations§
impl Forget for WorkflowErrorKind
impl Freeze for WorkflowErrorKind
impl Move for WorkflowErrorKind
impl RefUnwindSafe for WorkflowErrorKind
impl Send for WorkflowErrorKind
impl Sync for WorkflowErrorKind
impl Unpin for WorkflowErrorKind
impl UnsafeUnpin for WorkflowErrorKind
impl UnwindSafe for WorkflowErrorKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.