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

Method finish_error

crates/openshell-cli/src/run.rs:362–367  ·  view source on GitHub ↗

Finish with an error message shown on the last step line.

(&self, msg: &str)

Source from the content-addressed store, hash-verified

360
361 /// Finish with an error message shown on the last step line.
362 fn finish_error(&self, msg: &str) {
363 let _ = self
364 .mp
365 .println(format!("{} {}", "\u{2717}".red().bold(), msg.red()));
366 self.spinner.finish_and_clear();
367 }
368
369 /// Print a line above the progress bars (for static header content).
370 fn println(&self, msg: &str) {

Callers 1

sandbox_createFunction · 0.80

Calls 1

printlnMethod · 0.80

Tested by

no test coverage detected