#[non_exhaustive]pub enum GraphCompositionError {
Show 17 variants
ChildDelegationUnsupported,
MixedReturnPort {
node_id: NodeId,
},
MissingReturnPorts,
EntryIsReturnPort,
CyclicTemplate,
TemplateStepLimit,
InvalidIterationLimit,
UnknownRepeatPort {
port: NodeId,
},
DuplicateCallSite {
node_id: NodeId,
},
UnknownCallSite {
node_id: NodeId,
},
ReturnRoutesMismatch {
node_id: NodeId,
},
SharedStateContractMismatch {
node_id: NodeId,
},
TemplateParallelismLimit {
node_id: NodeId,
},
ExpansionTooLarge,
CanonicalSerialization,
IdentityCollision,
Graph(GraphCompileError),
}Expand description
Fail-closed rejection of a shared-state composition before admission.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ChildDelegationUnsupported
Static expansion cannot silently discard or remap durable child ownership.
MixedReturnPort
A return port also declared executable control outcomes.
MissingReturnPorts
A subgraph must expose explicit returns.
EntryIsReturnPort
Empty-body entry/return forwarding is not supported.
CyclicTemplate
Loops must use a finite explicit expansion.
TemplateStepLimit
A body path exceeded the template step ceiling.
InvalidIterationLimit
The finite repetition count is outside immutable bounds.
UnknownRepeatPort
A loop referenced a non-return identity.
DuplicateCallSite
A call-site was supplied twice.
UnknownCallSite
No parent node names the call-site.
ReturnRoutesMismatch
Every port must have exactly one explicit parent route.
Shared state cannot silently adapt schemas or reducer implementations.
TemplateParallelismLimit
Parent parallelism must obey each included template’s ceiling.
ExpansionTooLarge
Expanded metadata exceeded an immutable graph bound.
CanonicalSerialization
Source metadata could not be canonicalized.
IdentityCollision
A generated identity collided with another executable identity.
Graph(GraphCompileError)
The complete ordinary graph failed its existing compiler gates.
Trait Implementations§
Source§impl Clone for GraphCompositionError
impl Clone for GraphCompositionError
Source§impl Debug for GraphCompositionError
impl Debug for GraphCompositionError
Source§impl Display for GraphCompositionError
impl Display for GraphCompositionError
impl Eq for GraphCompositionError
Source§impl Error for GraphCompositionError
impl Error for GraphCompositionError
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()