kutil 0.0.5

Kutil utilities collection
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//
// RunError
//

/// Error for [run](super::run::run).
pub trait RunError {
    /// Handle the error.
    ///
    /// If we return false will print the error message in red.
    fn handle(&self) -> (bool, u8) {
        (false, 1)
    }
}