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

Function error_style

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

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

()

Source from the content-addressed store, hash-verified

342///
343/// Format: `✗ Message` (in red)
344fn error_style() -> ProgressStyle {
345 ProgressStyle::with_template("{prefix:.red} {msg:.red}")
346 .expect("Invalid error template")
347 .tick_chars("✗ ")
348}
349
350/// Get the byte-progress bar style.
351///

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