MCPcopy Create free account
hub / github.com/06chaynes/http-cache / HttpCacheError

Enum HttpCacheError

http-cache/src/error.rs:68–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66/// ```
67#[derive(Debug)]
68pub 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
85impl HttpCacheError {
86 /// Create a cache operation error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected