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

Method new

crates/openshell-server/src/service_routing.rs:137–143  ·  view source on GitHub ↗
(status: StatusCode, message: &'static str, reason: &'static str)

Source from the content-addressed store, hash-verified

135
136impl ServiceRouteError {
137 const fn new(status: StatusCode, message: &'static str, reason: &'static str) -> Self {
138 Self {
139 status,
140 message,
141 reason,
142 }
143 }
144
145 const fn endpoint_not_found() -> Self {
146 Self::new(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected