Skip to main content

Module error

Module error 

Source
Expand description

Core traits and types.

Always available regardless of feature flags. Includes:

  • Agent - The fundamental trait for all agents
  • Tool / Toolset - For extending agents with capabilities
  • Session / State - For managing conversation context
  • Event - For streaming agent responses
  • AdkError / Result - Unified error handling

Structs§

AdkError
Unified structured error type for all ADK-Rust operations.
ErrorDetails
Optional structured metadata carried by an AdkError.
RetryHint
Structured retry guidance attached to every AdkError.

Enums§

ErrorCategory
The kind of failure independent of subsystem.
ErrorComponent
The subsystem that produced the error — the origin, not the boundary it surfaces through.

Type Aliases§

Result
Convenience alias used throughout ADK crates.