Module error

Module error 

Source
Expand description

Error handling module for AmateRS

This module provides comprehensive error types and recovery mechanisms following COOLJAPAN OU patterns.

Structs§

CircuitBreaker
Circuit breaker implementation
ErrorContext
Rich error context with location tracking and metadata
ErrorLocation
Source code location for error tracking
RecoverableError
Wraps an error with recovery strategy and hints
RetryExecutor
Executor for retry operations

Enums§

AmateRSError
Main error type for AmateRS operations
CircuitState
Circuit breaker state machine
ErrorSeverity
Error severity levels
RecoveryStrategy
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