Skip to main content

Module error

Module error 

Source
Expand description

Crate-wide error type and Result alias.

Every fallible surface of the recursive runtime — graph execution, the harness agent loop, sub-agent recursion, .rag/.ragsh compilation, and registry binding — funnels through TinyAgentsError so failures from a deeply nested child run roll up to the caller through one uniform type. Downstream code should prefer the Result alias exported here.

Enums§

TinyAgentsError
The single error type returned by every fallible TinyAgents operation.

Type Aliases§

Result
Convenience alias for std::result::Result<T, TinyAgentsError> used throughout the crate’s public API.