-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add error handling for EDU code #162
Conversation
268382e
to
2a4dc26
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #162 +/- ##
==========================================
+ Coverage 81.69% 86.73% +5.03%
==========================================
Files 16 17 +1
Lines 448 490 +42
==========================================
+ Hits 366 425 +59
+ Misses 82 65 -17 ☔ View full report in Codecov by Sentry. |
0054e7a
to
c809ec2
Compare
c809ec2
to
a33bfef
Compare
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.
I think Outcome.hpp being the central piece for something as important as error handling should be in its own component. In this case this means please put it in its own INTERFACE
library.
3310f0c
to
edebf31
Compare
Remove edu::ErrorCode::success/successEof/noErrorCodeSet and modify related files accordingly, sometimes by getting rid of do-while loops.
- Add missing #includes - Add missing blank lines - Improve comments and remove wrong ones - Use east const - ...
- Use OUTCOME_TRY() whenever possible - Fix two bugs introduced by using the Outcome library - Make some stylistic changes
d70bce3
to
976df89
Compare
976df89
to
19d4d65
Compare
Description
Use the Experimental Outcome library to implement proper error handling in EDU component.
Fixes #182