#[non_exhaustive]pub enum ErrorComponent {
Show 14 variants
Agent,
Model,
Tool,
Session,
Artifact,
Memory,
Graph,
Realtime,
Code,
Server,
Auth,
Guardrail,
Eval,
Deploy,
}Expand description
The subsystem that produced the error — the origin, not the boundary it surfaces through.
Choose the variant matching where the failure actually happened, not which trait boundary returned it. For example:
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Agent
Error originated in agent logic.
Model
Error originated in model/LLM interaction.
Tool
Error originated in tool execution.
Session
Error originated in session management.
Artifact
Error originated in artifact storage.
Memory
Error originated in memory/RAG operations.
Graph
Error originated in graph workflow execution.
Realtime
Error originated in realtime audio/video streaming.
Code
Error originated in code execution.
Server
Error originated in the HTTP server.
Auth
Error originated in authentication/authorization.
Guardrail
Error originated in guardrail validation.
Eval
Error originated in evaluation framework.
Deploy
Error originated in deployment operations.
Trait Implementations§
Source§impl Clone for ErrorComponent
impl Clone for ErrorComponent
Source§fn clone(&self) -> ErrorComponent
fn clone(&self) -> ErrorComponent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ErrorComponent
impl Debug for ErrorComponent
Source§impl<'de> Deserialize<'de> for ErrorComponent
impl<'de> Deserialize<'de> for ErrorComponent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for ErrorComponent
impl Display for ErrorComponent
Source§impl Hash for ErrorComponent
impl Hash for ErrorComponent
Source§impl PartialEq for ErrorComponent
impl PartialEq for ErrorComponent
Source§fn eq(&self, other: &ErrorComponent) -> bool
fn eq(&self, other: &ErrorComponent) -> bool
self and other values to be equal, and is used by ==.