(status: StatusCode, message: impl Into<String>)
| 334 | } |
| 335 | |
| 336 | fn json_error(status: StatusCode, message: impl Into<String>) -> Response { |
| 337 | (status, Json(json!({ "error": message.into() }))).into_response() |
| 338 | } |
| 339 | |
| 340 | fn bytes_response( |
| 341 | status: StatusCode, |
no outgoing calls
no test coverage detected