error

Function error 

Source
pub fn error(msg: &str)
Expand description

Print an error message with a red “Error:” prefix

§Examples

use oxur_cli::common::output::error;

error("Failed to open file");
// Output: Error: Failed to open file (in red, to stderr)