Expand description
Error types for Braid HTTP operations.
This module defines all error types that can occur when using the Braid-HTTP protocol.
The Result type alias provides a convenient shorthand for operations that may fail.
§Error Categories
| Category | Variants | Retryable |
|---|---|---|
| Protocol | HeaderParse, BodyParse, InvalidVersion | No |
| Network | Io, Timeout | Yes |
| Subscription | SubscriptionClosed, InvalidSubscriptionStatus | Depends |
| Conflict | MergeConflict, HistoryDropped | No |
| Configuration | Config | No |
§Error Recovery
Use the BraidError::is_retryable() method to determine if an operation should be retried.
Most network errors are retryable; protocol errors typically are not.
§Specification
See Section 4.5 of draft-toomim-httpbis-braid-http-04 for error handling requirements.
Enums§
- Braid
Error - Errors that can occur during Braid HTTP operations.
Type Aliases§
- Result
- Result type for Braid HTTP operations.