[−][src]Derive Macro fehler::Error
#[derive(Error)] { // Attributes available to this derive: #[error] }
Derive for the Error trait.
If the type contains a Backtrace
, it will generate the backtrace
method to find it.
If this wraps a different, underlying error, you can tag that field with #[error::source]
,
which will generate the cause
and source
methods correctly.