MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / print_error

Function print_error

atomic-cli/src/output/mod.rs:103–105  ·  view source on GitHub ↗

Print an error message to stderr. The message is formatted in red with an X prefix. # Arguments `message` - The message to print # Example ```rust,ignore print_error("Failed to read file"); // Output: ✗ Failed to read file ```

(message: &str)

Source from the content-addressed store, hash-verified

101/// // Output: ✗ Failed to read file
102/// ```
103pub fn print_error(message: &str) {
104 eprintln!("{} {}", error("✗"), error(message));
105}
106
107/// Print a warning message to stderr.
108///

Callers 13

mainFunction · 0.85
runMethod · 0.85
runMethod · 0.85
run_asyncMethod · 0.85
runMethod · 0.85
executeMethod · 0.85
runMethod · 0.85
run_manifestMethod · 0.85
run_globalMethod · 0.85
runMethod · 0.85
run_manifestMethod · 0.85
run_globalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected