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

Function error_style

atomic-cli/src/output/progress.rs:323–327  ·  view source on GitHub ↗

Get the error completion style. Format: `✗ Message` (in red)

()

Source from the content-addressed store, hash-verified

321///
322/// Format: `✗ Message` (in red)
323fn error_style() -> ProgressStyle {
324 ProgressStyle::with_template("{prefix:.red} {msg:.red}")
325 .expect("Invalid error template")
326 .tick_chars("✗ ")
327}
328
329/// Get the byte-progress bar style.
330///

Callers 2

finish_errorFunction · 0.85
test_styles_dont_panicFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_styles_dont_panicFunction · 0.68