Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
167
pub fn print_error(msg: &str) {
168
let cross = error_style().apply_to(
"✗"
);
169
eprintln!(
"{cross} {msg}"
);
170
}
171
172
pub fn print_warning(msg: &str) {
173
let warn = warning_style().apply_to(
"⚠"
);
Callers
6
cmd_config
Function · 0.85
cmd_migrate_config
Function · 0.85
apply_hermes_onboarding_steps
Function · 0.85
cmd_onboard
Function · 0.85
cmd_uninstall
Function · 0.85
test_print_error_does_not_panic
Function · 0.85
Calls
1
error_style
Function · 0.85
Tested by
1
test_print_error_does_not_panic
Function · 0.68