Expand description
Unified tool error envelope for consistent error handling across execution paths
This module consolidates error types from:
handlers::ToolCallErrorhandlers::ToolErrormiddleware::MiddlewareErrorimprovements_errors::ImprovementError- Registry execution errors
By routing all errors through this envelope, we achieve:
- Consistent retry classification
- Uniform user-facing messaging
- Preserved debug context for diagnostics
Structs§
- Debug
Context - Debug context for error diagnostics
- Unified
Tool Error - Unified tool error envelope
Enums§
- Error
Severity - Unified error severity levels
- Unified
Error Kind - Unified error kind for classification
Functions§
- classify_
error - Classify an
anyhow::Errorinto aUnifiedErrorKind.