println_error

Macro println_error 

Source
macro_rules! println_error {
    ($($arg:tt)*) => { ... };
}
Expand description

Prints an error message with red background and white text.

Supports format string syntax like format! macro:

  • println_error!("Error") - Simple string
  • println_error!("Error: {}", message) - Positional arguments
  • println_error!("Error: {message}") - Named arguments (Rust 1.58+)