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

Function handle_cache_error

http-cache-tower-server/examples/axum_basic.rs:66–69  ·  view source on GitHub ↗
(err: BoxError)

Source from the content-addressed store, hash-verified

64}
65
66async fn handle_cache_error(err: BoxError) -> Response {
67 (StatusCode::INTERNAL_SERVER_ERROR, format!("Cache error: {}", err))
68 .into_response()
69}
70
71async fn index() -> Response {
72 (

Callers

nothing calls this directly

Calls 1

into_responseMethod · 0.80

Tested by

no test coverage detected