Derive Macro Debug

Source
#[derive(Debug)]
Available on crate feature derive only.
Expand description

Derive std::fmt::Debug using pretty_error_debug

For struct MyError this code would be derived:

impl std::fmt::Debug for MyError {
    #[inline]
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        pretty_error_debug::pretty_error_debug(self, f)
    }
}