Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement std::error::Error for EncryptError #8

Merged
merged 2 commits into from
Oct 1, 2020
Merged

Conversation

yuriks
Copy link
Contributor

@yuriks yuriks commented Oct 1, 2020

Implementing the standard trait allows these errors to be used with
various error handling libraries such as anyhow. The thiserror crate
is used to make the implementation as concise and well-behaved as
possible.

Implementing the standard trait allows these errors to be used with
various error handling libraries such as `anyhow`. The `thiserror` crate
is used to make the implementation as concise and well-behaved as
possible.
@yuriks yuriks requested a review from tgeoghegan October 1, 2020 00:25
@yuriks yuriks merged commit 61efbcc into main Oct 1, 2020
@yuriks yuriks deleted the yuriks/error-impl branch October 1, 2020 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants