#[non_exhaustive]pub enum GraphCompileError {
Show 15 variants
EmptyNodes,
TooManyNodes {
maximum: usize,
actual: usize,
},
DuplicateNode {
node_id: NodeId,
},
EmptyEntryNodes,
MissingEntryNode {
node_id: NodeId,
},
MissingSuccessorNode {
from_node: NodeId,
target: NodeId,
},
DuplicateRoute {
route_id: RouteId,
first_node: NodeId,
second_node: NodeId,
},
TooManyRoutes {
maximum: usize,
actual: usize,
},
ParallelismExceeded {
node_id: Option<NodeId>,
maximum: usize,
actual: usize,
},
UnreachableNode {
node_id: NodeId,
},
NoBoundaryPath {
node_id: NodeId,
},
DefinitionTooLarge {
maximum: usize,
actual: usize,
},
CanonicalSerialization,
DigestMismatch,
ChildPolicy(ChildRunPolicyError),
}Expand description
Invalid canonical graph definition.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
EmptyNodes
No executable node was declared.
TooManyNodes
The graph exceeded the immutable node ceiling.
DuplicateNode
A stable node identity was repeated.
EmptyEntryNodes
No initial runnable node was declared.
MissingEntryNode
An entry identity was absent from the node table.
MissingSuccessorNode
A control branch referenced an absent node.
DuplicateRoute
A route identity was reused by two nodes.
Fields
TooManyRoutes
The graph exceeded its aggregate route ceiling.
ParallelismExceeded
A declared ready set exceeded graph-specific parallelism.
Fields
UnreachableNode
A node could never be activated from any entry.
NoBoundaryPath
A node could not reach a wait or terminal boundary.
DefinitionTooLarge
The canonical descriptor exceeded its resource ceiling.
CanonicalSerialization
Canonical JSON serialization unexpectedly failed.
DigestMismatch
Persisted definition checksum did not match the descriptor.
ChildPolicy(ChildRunPolicyError)
Delegation declarations violate their closed policy or parent node set.
Trait Implementations§
Source§impl Clone for GraphCompileError
impl Clone for GraphCompileError
Source§impl Debug for GraphCompileError
impl Debug for GraphCompileError
Source§impl Display for GraphCompileError
impl Display for GraphCompileError
impl Eq for GraphCompileError
Source§impl Error for GraphCompileError
impl Error for GraphCompileError
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()