Expand description
Agent run error — carries the provider error AND the agent’s exported conversation state so the recovery coordinator can snapshot→restore rather than re-fork from scratch (RFC-029 §3.2, P2b).
Used by run_agent on failure: before returning Err, the agent’s
export_state() is captured and wrapped. The supervisor’s Err arm
downcasts back to extract both the source error (for classify) and
the restore state (for ExecutionResult.restore_state).
Structs§
- Agent
RunError - Error wrapper carrying the agent’s exported state alongside the original provider error.