Skip to main content

ErrorKind

Derive Macro ErrorKind 

Source
#[derive(ErrorKind)]
{
    // Attributes available to this derive:
    #[error]
}
Available on crate feature macros only.
Expand description

Automatically derive the ErrorKind trait

Derive macro available if error-kind is built with features = ["macros"]