main_error 0.1.0

Print errors with Display instead of Debug when using ? in main().
Documentation

main_error build status

Print errors with Display instead of Debug when using ? in main(). For example:

use main_error::MainError;

fn main() -> Result<(), MainError> {
    Err("string or a custom error type")? // prints using Display, not Debug
}

For more info, see: