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
We encounter this issue as we start removing old error-chain errors and replacing them with thiserror impls. Once both are available we can write errors as such:
use thiserror::Error;#[derive(Error,Debug)pubenumCoolError{IoError{#[backtrace]source: std::io::Error,}}
Which will automatically fetch errors from the provide member.
The text was updated successfully, but these errors were encountered:
To propagate backtrace properly with
thiserror
we require two features to land instable
.rust-lang/rust#99301
rust-lang/rust#96024
We encounter this issue as we start removing old
error-chain
errors and replacing them withthiserror
impls. Once both are available we can write errors as such:Which will automatically fetch errors from the
provide
member.The text was updated successfully, but these errors were encountered: