error

Macro error 

Source
macro_rules! error {
    ($msg:expr) => { ... };
    ($msg:expr, $symbol:expr) => { ... };
}
Expand description

Print an error message with optional custom symbol

§Examples

use supercli::error;

error!("Configuration file not found"); // Uses default ✗
error!("Critical error occurred!", "💥"); // Uses custom symbol