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

Add error handling for EDU code #162

Merged
merged 24 commits into from
Dec 19, 2023
Merged

Add error handling for EDU code #162

merged 24 commits into from
Dec 19, 2023

Conversation

jeromehue
Copy link
Contributor

@jeromehue jeromehue commented Nov 11, 2023

Description

Use the Experimental Outcome library to implement proper error handling in EDU component.

Fixes #182

@codecov-commenter
Copy link

codecov-commenter commented Nov 11, 2023

Codecov Report

Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (020efc9) 81.69% compared to head (19d4d65) 86.73%.

Files Patch % Lines
Sts1CobcSw/Edu/EduMock.cpp 0.00% 9 Missing ⚠️
Tests/UnitTests/Outcome.test.cpp 93.65% 4 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

@jeromehue jeromehue force-pushed the edu-error-handling branch 2 times, most recently from 0054e7a to c809ec2 Compare November 11, 2023 17:02
@jeromehue jeromehue requested a review from PatrickKa December 4, 2023 18:34
@jeromehue jeromehue marked this pull request as ready for review December 4, 2023 18:35
Copy link
Contributor

@PatrickKa PatrickKa left a 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.

Sts1CobcSw/Utility/Outcome.hpp Outdated Show resolved Hide resolved
Sts1CobcSw/Utility/Outcome.hpp Outdated Show resolved Hide resolved
Sts1CobcSw/Utility/Outcome.hpp Outdated Show resolved Hide resolved
Sts1CobcSw/Utility/Outcome.hpp Outdated Show resolved Hide resolved
Sts1CobcSw/Utility/Outcome.hpp Outdated Show resolved Hide resolved
Sts1CobcSw/Utility/Outcome.hpp Outdated Show resolved Hide resolved
Tests/UnitTests/Outcome.test.cpp Outdated Show resolved Hide resolved
Sts1CobcSw/Edu/Edu.hpp Show resolved Hide resolved
@PatrickKa PatrickKa changed the title Implement error handling for Edu Component Implement error handling for EDU code Dec 14, 2023
@PatrickKa PatrickKa changed the title Implement error handling for EDU code Add error handling for EDU code Dec 19, 2023
@PatrickKa PatrickKa merged commit 580ad63 into master Dec 19, 2023
6 checks passed
@PatrickKa PatrickKa deleted the edu-error-handling branch December 19, 2023 16:12
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.

Add error handling for EDU code
3 participants