Package express.mvp.myra.transport.error
package express.mvp.myra.transport.error
Error handling and recovery utilities for transport operations.
This package provides components for classifying errors, implementing retry strategies, and managing error recovery in transport operations.
Key Components
ErrorCategory- Classification of error typesErrorClassifier- Classifies exceptions by categoryRetryPolicy- Strategy for retry decisionsRetryContext- Tracks retry attempts and state
Error Categories
Errors are classified into categories to enable appropriate handling:
- TRANSIENT: Temporary errors that may succeed on retry (timeouts, busy)
- NETWORK: Network connectivity issues (connection reset, unreachable)
- PROTOCOL: Protocol-level errors (invalid framing, bad response)
- RESOURCE: Resource exhaustion (buffers, file descriptors)
- FATAL: Unrecoverable errors requiring shutdown
- See Also:
-
ClassDescriptionCategories of transport errors for handling and recovery decisions.Classifies exceptions into error categories for recovery decisions.Tracks the state of retry attempts for an operation.Defines retry behavior for failed operations.Builder for
RetryPolicy.