Expand description
Error handling module for AmateRS
This module provides comprehensive error types and recovery mechanisms following COOLJAPAN OU patterns.
Structs§
- Circuit
Breaker - Circuit breaker implementation
- Error
Context - Rich error context with location tracking and metadata
- Error
Location - Source code location for error tracking
- Recoverable
Error - Wraps an error with recovery strategy and hints
- Retry
Executor - Executor for retry operations
Enums§
- AmateRS
Error - Main error type for AmateRS operations
- Circuit
State - Circuit breaker state machine
- Error
Severity - Error severity levels
- Recovery
Strategy - Recovery strategy for handling errors
Functions§
- suggest_
recovery_ strategy - Helper function to classify errors for recovery
Type Aliases§
- Result
- Result type alias for AmateRS operations