1 //! Utility module for command line interfaces
3 use std::{fmt, fmt::Display, error::Error};
5 /// An error struct to wrap simple static error messages
7 pub struct CliErr(pub &'static str);
9 impl Display for CliErr {
10 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
15 impl Error for CliErr {}