MCPcopy Create free account
hub / github.com/clawshell/clawshell / print_error

Function print_error

src/tui.rs:167–170  ·  view source on GitHub ↗
(msg: &str)

Source from the content-addressed store, hash-verified

165}
166
167pub fn print_error(msg: &str) {
168 let cross = error_style().apply_to("✗");
169 eprintln!("{cross} {msg}");
170}
171
172pub fn print_warning(msg: &str) {
173 let warn = warning_style().apply_to("⚠");

Callers 6

cmd_configFunction · 0.85
cmd_migrate_configFunction · 0.85
cmd_onboardFunction · 0.85
cmd_uninstallFunction · 0.85

Calls 1

error_styleFunction · 0.85

Tested by 1