You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you consider adding support for #[error(forward)] which provide the same functionality as #[error(transparent)] in the thiserror crate? (Use cases are explained there.)
In short, this would make fn source() return self.source.as_dyn_error().source() instead of Some(self.source.as_dyn_error()).
I can use thiserror, but derive_more is a crate I use everywhere, and it would be nice to have this functionality without depending on thiserror.
The text was updated successfully, but these errors were encountered:
Could you consider adding support for
#[error(forward)]
which provide the same functionality as#[error(transparent)]
in the thiserror crate? (Use cases are explained there.)In short, this would make
fn source()
returnself.source.as_dyn_error().source()
instead ofSome(self.source.as_dyn_error())
.I can use thiserror, but derive_more is a crate I use everywhere, and it would be nice to have this functionality without depending on thiserror.
The text was updated successfully, but these errors were encountered: