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

Method from_status

crates/openshell-cli/src/run.rs:2997–3003  ·  view source on GitHub ↗
(status: Status)

Source from the content-addressed store, hash-verified

2995 }
2996
2997 fn from_status(status: Status) -> Self {
2998 let fatal = matches!(status.code(), Code::NotFound | Code::FailedPrecondition);
2999 Self {
3000 message: status.to_string(),
3001 fatal,
3002 }
3003 }
3004}
3005
3006impl std::fmt::Display for ForwardTcpConnectionError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected