Expand description
§Service Layer Error Types
Comprehensive error handling for the Thread service layer using Tower’s BoxError pattern for unified error handling and improved performance. This design enables composable service layers while maintaining excellent error context and recovery capabilities.
Structs§
- Contextual
Error - Enhanced error type that includes context information
- Error
Context - Context information for errors
- Error
Recovery - Error recovery information
Enums§
- Analysis
Error - Errors related to code analysis and pattern matching
- Parse
Error - Errors related to parsing source code into ASTs with performance optimization
- Recovery
Strategy - Error recovery strategies
- Service
Error - Main error type for service layer operations with optimized string handling
- Storage
Error - Errors related to storage operations (commercial boundary)
Traits§
- Error
Context Ext - Helper trait for adding context to errors
- Recoverable
Error - Trait for errors that support recovery
Type Aliases§
- BoxError
- Contextual
Result - Result type for contextual operations
- Legacy
Service Result - Compatibility type for legacy ServiceError usage
- Service
Result - Service result type using Tower’s BoxError pattern for unified error handling