-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Previously, the advice was to go from error_chain to failure, but now failure is also deprecated.
Our use of errors{} in the error_chain! macro uses description and display to generate the errors, which is now deprecated, preferring impl Display. That's way more verbose, so there must be a way to generate/derive our errors cleanly. The error_chain documentation has not been updated to describe how to use the new syntax.
failure - a new error management story
Notice: failure is deprecated. If you liked failure's API, consider using:
Anyhow is a good replacement for failure::Error. thiserror is a good, near drop-in replacement for #[derive(Fail)]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels