Skip to main content

agent_runtime/error/
error_category.rs

1//! Stable categories used to classify runtime failures and telemetry.
2
3/// Stable error classes for runtime decisions and observability.
4#[derive(Debug, Clone, Copy, PartialEq, Eq)]
5pub enum ErrorCategory {
6    Configuration,
7    Authorization,
8    Model,
9    Tool,
10    Timeout,
11    Cancellation,
12}