MCPcopy Create free account
hub / github.com/Wulf/create-rust-app / error

Function error

crates/create-rust-app_cli/src/utils/logger.rs:43–45  ·  view source on GitHub ↗
(msg: &str)

Source from the content-addressed store, hash-verified

41}
42
43pub fn error(msg: &str) {
44 message(&format!("{} {}", style("ERROR: ").red(), msg));
45}
46
47pub fn exit_code(msg: &str, code: i32) -> ! {
48 error(msg);

Callers 10

create_projectFunction · 0.85
configure_projectFunction · 0.85
exit_codeFunction · 0.85
exit_errorFunction · 0.85
add_bins_to_cargo_tomlFunction · 0.85
createFunction · 0.85
installMethod · 0.85
before_installMethod · 0.85
after_installMethod · 0.85
installMethod · 0.85

Calls 1

messageFunction · 0.85

Tested by

no test coverage detected