Derive Macro ErrorCategory

Source
#[derive(ErrorCategory)]
{
    // Attributes available to this derive:
    #[error_category]
    #[error]
}