Create a generic error # Examples ```rust use http_cache::HttpCacheError; let err = HttpCacheError::other("Unexpected error occurred"); ```
(error: E)
| 145 | /// let err = HttpCacheError::other("Unexpected error occurred"); |
| 146 | /// ``` |
| 147 | pub fn other<E: Into<BoxError>>(error: E) -> Self { |
| 148 | Self::Other(error.into()) |
| 149 | } |
| 150 | |
| 151 | /// Returns true if this error is related to cache operations |
| 152 | pub fn is_cache_error(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected