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

Method new

crates/openshell-driver-vm/src/lifecycle.rs:44–49  ·  view source on GitHub ↗
(message: impl Into<String>)

Source from the content-addressed store, hash-verified

42
43impl LifecycleError {
44 pub fn new(message: impl Into<String>) -> Self {
45 Self {
46 message: message.into(),
47 resource_exhausted: false,
48 }
49 }
50
51 pub fn resource_exhausted(message: impl Into<String>) -> Self {
52 Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected