| 66 | /// ``` |
| 67 | #[derive(Debug)] |
| 68 | pub enum HttpCacheError { |
| 69 | /// HTTP client error (reqwest, surf, etc.) |
| 70 | Client(BoxError), |
| 71 | /// HTTP cache operation failed |
| 72 | Cache(String), |
| 73 | /// Request parsing failed (e.g., non-cloneable request) |
| 74 | BadRequest(BadRequest), |
| 75 | /// HTTP processing error (header parsing, version handling, etc.) |
| 76 | Http(BoxError), |
| 77 | /// Body processing error (collection, streaming, etc.) |
| 78 | Body(BoxError), |
| 79 | /// Streaming operation error (with detailed error kind) |
| 80 | Streaming(StreamingError), |
| 81 | /// Other generic error |
| 82 | Other(BoxError), |
| 83 | } |
| 84 | |
| 85 | impl HttpCacheError { |
| 86 | /// Create a cache operation error |
nothing calls this directly
no outgoing calls
no test coverage detected