(&self)
| 185 | |
| 186 | impl std::error::Error for HttpCacheError { |
| 187 | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { |
| 188 | match self { |
| 189 | Self::Client(e) => Some(e.as_ref()), |
| 190 | Self::Cache(_) => None, |
| 191 | Self::BadRequest(e) => Some(e), |
| 192 | Self::Http(e) => Some(e.as_ref()), |
| 193 | Self::Body(e) => Some(e.as_ref()), |
| 194 | Self::Streaming(e) => Some(e), |
| 195 | Self::Other(e) => Some(e.as_ref()), |
| 196 | } |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | // Comprehensive From implementations for common error types |
nothing calls this directly
no outgoing calls
no test coverage detected