-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 our custom errors
#1422
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1422 +/- ##
==========================================
- Coverage 47.95% 47.83% -0.13%
==========================================
Files 137 137
Lines 12805 12851 +46
==========================================
+ Hits 6141 6147 +6
- Misses 6664 6704 +40
Continue to review full report at Codecov.
|
Looks good! Could you also update changelogs? |
For allowing a more ergonomic use and better integration on the ecosystem, this adds the `std::error::Error` `impl` for our custom errors. We intent to drop this hand made code once `derive_more` finishes the addition of the Error derive support[1]. Until that is available, we need to live with that. 1. JelteF/derive_more#92 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8ca1377
to
146ae4d
Compare
Your update looks great! |
Sure. I added one entry for each changed crate. Let me know if any other change needs to be done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@JohnTitor @otavio derive_more now features std::Error derivation |
For allowing a more ergonomic use and better integration on the
ecosystem, this adds the
std::error::Error
impl
for our customerrors.
We intent to drop this hand made code once
derive_more
finishes theaddition of the Error derive support[1]. Until that is available, we
need to live with that.