Create a cache operation error # Examples ```rust use http_cache::HttpCacheError; let err = HttpCacheError::cache("Cache entry not found"); ```
(message: S)
| 93 | /// let err = HttpCacheError::cache("Cache entry not found"); |
| 94 | /// ``` |
| 95 | pub fn cache<S: Into<String>>(message: S) -> Self { |
| 96 | Self::Cache(message.into()) |
| 97 | } |
| 98 | |
| 99 | /// Create an HTTP processing error |
| 100 | /// |