pub enum AgentGraphError {
Show 31 variants
UnsupportedSchema(String),
UnsupportedProtocol(String),
InvalidParentContract,
ParentBinding,
CoordinatorRole,
InvalidGraphBudget,
NodeLimit,
NonCanonicalNodeOrder,
DuplicateNodeId,
InvalidNodeId(String),
NodeRole(String),
NodeAuthority(String),
AuthorityReused(String),
UnknownDependency {
node_id: String,
dependency: String,
},
Cycle,
ReviewTarget(String),
IncompleteProofBarrier(String),
UnknownCriterion(String),
CriterionAssignedTwice(String),
IncompleteDecomposition,
WriteOutsideReadScope {
node_id: String,
path: String,
},
SiblingWriteConflict {
left_node_id: String,
right_node_id: String,
left_scope: String,
right_scope: String,
},
GraphBudgetExceeded,
InvalidDecision,
InvalidTransition,
DecisionDigest,
DecisionChain,
TerminalStates,
ReceiptBinding,
Serialization,
Delegation(AgentError),
}Expand description
Fail-closed graph planning, scheduling, or receipt validation error.
Variants§
UnsupportedSchema(String)
Public schema is unsupported.
UnsupportedProtocol(String)
Graph protocol is unsupported.
InvalidParentContract
Parent task contract failed validation.
ParentBinding
Parent identity, digest, confirmation, or state binding differs.
CoordinatorRole
Graph authority is not a coordinator.
InvalidGraphBudget
Aggregate graph limits are zero or inconsistent.
NodeLimit
Node count is empty or exceeds the reservation.
NonCanonicalNodeOrder
Serialized node order is not canonical.
DuplicateNodeId
More than one node uses the same ID.
InvalidNodeId(String)
Node ID is empty, oversized, or not portable.
NodeRole(String)
Node role conflicts with its recipe.
NodeAuthority(String)
Node action or workspace authority is unsafe.
AuthorityReused(String)
Agent identity or authority digest is reused.
UnknownDependency
A dependency does not exist or points to the node itself.
Fields
Cycle
Dependency graph is cyclic.
ReviewTarget(String)
Reviewer/adversary target is missing or not a worker.
IncompleteProofBarrier(String)
Worker lacks an exact reviewer plus adversary barrier.
UnknownCriterion(String)
Delegated criterion does not exist in the parent.
CriterionAssignedTwice(String)
Parent criterion is owned by multiple workers.
IncompleteDecomposition
Some parent criterion has no worker owner.
WriteOutsideReadScope
A node write scope is not contained by a read scope.
SiblingWriteConflict
Concurrent sibling write scopes overlap.
Fields
GraphBudgetExceeded
Sum of node reservations exceeds the graph reservation.
InvalidDecision
Decision material contains malformed identities or digests.
InvalidTransition
Decision does not represent an allowed state transition.
DecisionDigest
Decision digest is malformed or mismatched.
DecisionChain
Decision sequence, previous hash, or source state is inconsistent.
TerminalStates
Terminal states or claimed outcome are inconsistent.
ReceiptBinding
Receipt does not bind the supplied graph and workspace.
Serialization
Canonical JSON material could not be serialized.
Delegation(AgentError)
Lower-level P3A delegation contract failed.
Trait Implementations§
Source§impl Debug for AgentGraphError
impl Debug for AgentGraphError
Source§impl Display for AgentGraphError
impl Display for AgentGraphError
impl Eq for AgentGraphError
Source§impl Error for AgentGraphError
impl Error for AgentGraphError
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()