Skip to main content

Module error

Module error 

Source
Expand description

The error types this crate returns. Almost everything that can fail – a provider call, a tool execution, decoding a response – ends up as an Error, so you generally only need to match on one type regardless of which capability or provider you’re calling.

Structs§

StructuredDecodeContext
What Error::StructuredDecode carries about the response that failed to decode – everything a RepairStrategy needs to try salvaging it, or that a successfully-repaired StructuredResponse needs to be complete.

Enums§

Error
The single error type returned by every fallible operation in this crate.
ToolError
Something went wrong while a Tool was resolved or executed.