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

Method is_client_error

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

Returns true if this error is related to client operations

(&self)

Source from the content-addressed store, hash-verified

155
156 /// Returns true if this error is related to client operations
157 pub fn is_client_error(&self) -> bool {
158 matches!(self, Self::Client(_))
159 }
160
161 /// Returns true if this error is related to streaming operations
162 pub fn is_streaming_error(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected