MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / into_response

Method into_response

crates/openshell-server/src/service_routing.rs:195–197  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

193
194impl IntoResponse for ServiceRouteError {
195 fn into_response(self) -> AxumResponse {
196 service_error_response(self.status, self.message)
197 }
198}
199
200pub fn service_error_response(status: StatusCode, message: &'static str) -> AxumResponse {

Callers 7

service_error_responseFunction · 0.80
oidc_config_handlerFunction · 0.80
auth_connectFunction · 0.80

Calls 1

service_error_responseFunction · 0.85

Tested by 1