Skip to main content

Module error

Module error 

Source
Expand description

§Unified error type for the agent-runtime crate.

§Responsibility

Provide a single, typed error enum that covers all subsystems: memory, graph, orchestration, and the ReAct agent loop.

§Guarantees

  • Every variant is named and carries structured context
  • Implements std::error::Error via thiserror
  • Safe to send across thread/task boundaries (Send + Sync)
  • Never panics

Enums§

AgentRuntimeError
Unified error type returned by all public agent-runtime APIs.