#[non_exhaustive]pub enum ChildRunPolicyError {
Show 14 variants
AgentEncoding,
InvalidLimits,
EmptyDeclarations,
TooManyDeclarations,
TooManyNodeSlots,
DuplicateSlot,
UnsupportedVersion,
UndeclaredParentNode,
ParentGraphMismatch,
DelegationNotDeclared,
TargetGraphMismatch,
TargetSchemaMismatch,
TargetAgentMismatch,
DepthNotNarrowed,
}Expand description
Public-safe declaration/profile validation failure; no request data is exposed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AgentEncoding
Complete descriptor could not be encoded as interoperable canonical JSON.
InvalidLimits
A limit is zero or exceeds its fixed resource ceiling.
EmptyDeclarations
An empty policy is not a delegation declaration.
TooManyDeclarations
Aggregate graph declarations exceeded their fixed bound.
TooManyNodeSlots
One activation could select too many distinct slots.
DuplicateSlot
A node/slot identity was repeated.
UnsupportedVersion
Version is not supported and must not be treated as the current profile.
UndeclaredParentNode
A declaration refers to a node missing from its parent graph.
ParentGraphMismatch
The trusted graph is not the graph pinned by the parent activation.
DelegationNotDeclared
There is no delegation policy or no slot owned by this parent node.
TargetGraphMismatch
Target identity, version, graph bytes, or state schema changed.
TargetSchemaMismatch
Target input/output schema pins differ.
TargetAgentMismatch
The full target Agent descriptor differs, even under an equal identity.
DepthNotNarrowed
A nested target could exceed the parent’s remaining descendant depth.
Trait Implementations§
Source§impl Clone for ChildRunPolicyError
impl Clone for ChildRunPolicyError
Source§impl Debug for ChildRunPolicyError
impl Debug for ChildRunPolicyError
Source§impl Display for ChildRunPolicyError
impl Display for ChildRunPolicyError
impl Eq for ChildRunPolicyError
Source§impl Error for ChildRunPolicyError
impl Error for ChildRunPolicyError
1.30.0 · 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()