thiserror 1.0.26

derive(Error)
Documentation
use thiserror::Error;

#[derive(Debug)]
pub struct NotError;

#[derive(Error, Debug)]
#[error("...")]
pub enum ErrorEnum {
    Broken {
        source: NotError,
    },
}

fn main() {}