Skip to main content

Module error_taxonomy

Module error_taxonomy 

Source
Expand description

12-category tool invocation error taxonomy (arXiv:2601.16280).

The ToolErrorCategory and ErrorDomain enums are defined in zeph-common and re-exported here for backwards compatibility. Tool-specific helpers (classify_http_status, classify_io_error, ToolErrorFeedback) remain in this module.

Structs§

ToolErrorFeedback
Structured error feedback injected as tool_result content for classified errors.

Enums§

ErrorDomain
High-level error domain for recovery strategy dispatch.
ToolErrorCategory
Fine-grained 12-category classification of tool invocation errors.
ToolInvocationPhase
Invocation phase in which a tool failure occurred, per arXiv:2601.16280.

Traits§

ToolErrorCategoryExt
Extension trait adding zeph-tools-specific methods to ToolErrorCategory.

Functions§

classify_http_status
Classify an HTTP status code into a ToolErrorCategory.
classify_io_error
Classify an io::Error into a ToolErrorCategory.