#[non_exhaustive]pub enum GraphBarrierPlanError {
Show 27 variants
GraphReferenceMismatch,
InitialReadySetMismatch,
SuperstepLimitReached {
maximum: Superstep,
actual: Superstep,
},
BaseParallelismExceeded {
maximum: usize,
actual: usize,
},
UnknownReadyNode {
node_id: NodeId,
},
ReducerReferenceMismatch,
ResultCountMismatch {
expected: usize,
actual: usize,
},
DuplicateResultNode {
node_id: NodeId,
},
MissingResultNode {
node_id: NodeId,
},
ResultBaseMismatch {
node_id: NodeId,
},
NonRootActivation {
node_id: NodeId,
},
ActivationMismatch {
node_id: NodeId,
},
UpdateSchemaMismatch {
node_id: NodeId,
},
TerminalOutputSchemaMismatch {
node_id: NodeId,
},
SchemaValidation {
kind: GraphValueKind,
node_id: Option<NodeId>,
source: GraphSchemaValidationError,
},
SchemaValidatorPanicked {
kind: GraphValueKind,
node_id: Option<NodeId>,
},
UndeclaredControl {
node_id: NodeId,
control: NodeControlKind,
},
UndeclaredRoute {
node_id: NodeId,
route_id: RouteId,
},
TerminalNotExclusive,
AdvancingBarrierWithoutSuccessor,
SuccessorParallelismExceeded {
maximum: usize,
actual: usize,
},
InvalidWaitBatch {
source: NodeWaitsError,
},
ReducerFailed {
source: GraphReducerError,
},
ReducerPanicked,
InvalidReducedState {
source: CheckpointStateError,
},
InvalidSuccessor {
source: CheckpointWriteError,
},
InvalidBarrier {
source: CheckpointBarrierError,
},
}Expand description
Failure to derive one deterministic, storage-ready barrier plan.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
GraphReferenceMismatch
The checkpoint pinned another graph definition or state schema.
InitialReadySetMismatch
Superstep zero did not contain the exact compiled entry set.
SuperstepLimitReached
The next barrier would exceed the graph step ceiling.
BaseParallelismExceeded
The current checkpoint already exceeded graph parallelism.
UnknownReadyNode
A checkpoint referenced a node absent from the compiled graph.
ReducerReferenceMismatch
The reducer implementation did not match its pinned reference.
ResultCountMismatch
The complete result count differed from the ready set.
DuplicateResultNode
One ready node appeared more than once.
MissingResultNode
One expected ready node had no result.
ResultBaseMismatch
A result belonged to another immutable checkpoint.
NonRootActivation
Root graph planning received a nested activation.
ActivationMismatch
A result’s logical input did not match deterministic activation derivation.
UpdateSchemaMismatch
One update substituted another schema.
TerminalOutputSchemaMismatch
One terminal output substituted another schema.
SchemaValidation
The exact schema implementation rejected or could not validate a value.
Fields
kind: GraphValueKindClosed value class.
source: GraphSchemaValidationErrorPublic-safe registry classification.
SchemaValidatorPanicked
A schema adapter panicked instead of returning a closed failure.
Fields
kind: GraphValueKindClosed value class.
UndeclaredControl
A result selected a control kind absent from its node declaration.
UndeclaredRoute
A result selected an undeclared conditional route.
TerminalNotExclusive
Terminal completion was mixed with another active result/control.
AdvancingBarrierWithoutSuccessor
An ordinary advancing barrier resolved no successor.
SuccessorParallelismExceeded
Combined branches exceeded graph parallelism.
InvalidWaitBatch
Parallel waits could not form one atomic registration batch.
Fields
source: NodeWaitsErrorExact wait collection failure.
ReducerFailed
The pure reducer returned a closed failure.
Fields
source: GraphReducerErrorPublic-safe reducer classification.
ReducerPanicked
Reducer code panicked instead of returning a closed failure.
InvalidReducedState
Reducer output could not become integrity-bound checkpoint state.
Fields
source: CheckpointStateErrorExact state construction failure.
InvalidSuccessor
The derived successor violated checkpoint invariants.
Fields
source: CheckpointWriteErrorExact checkpoint-write failure.
InvalidBarrier
The final barrier violated complete-set or integrity invariants.
Fields
source: CheckpointBarrierErrorExact barrier failure.
Trait Implementations§
Source§impl Clone for GraphBarrierPlanError
impl Clone for GraphBarrierPlanError
Source§impl Debug for GraphBarrierPlanError
impl Debug for GraphBarrierPlanError
Source§impl Display for GraphBarrierPlanError
impl Display for GraphBarrierPlanError
impl Eq for GraphBarrierPlanError
Source§impl Error for GraphBarrierPlanError
impl Error for GraphBarrierPlanError
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()