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

Refactor error framework #186

Merged
merged 5 commits into from May 16, 2024
Merged

Refactor error framework #186

merged 5 commits into from May 16, 2024

Conversation

andistorm
Copy link
Contributor

@andistorm andistorm commented May 8, 2024

Changes

Classes:

  • Add ErrorFactory
  • Add ErrorManagerImpl
  • Add ErrorManagerReq
  • Add ErrorStateMonitor
  • Remove ErrorCommBridge
  • Remove ErrorManager

Move managment of active errors from global manager to each module.
Change the interface of raising, clearing and subscribing errors.

Requires

Classes:
* Add ErrorFactory
* Add ErrorManagerImpl
* Add ErrorManagerReq
* Add ErrorStateMonitor
* Remove ErrorCommBridge
* Remove ErrorManager

Move managment of active errors from global manager to each module.
Change the interface of raising, clearing and subscribing errors.

Signed-off-by: Andreas Heinrich <andreas.heinrich@rwth-aachen.de>
include/utils/error.hpp Outdated Show resolved Hide resolved
include/utils/error/error_database.hpp Outdated Show resolved Hide resolved
include/utils/error/error_database_map.hpp Outdated Show resolved Hide resolved
Signed-off-by: Andreas Heinrich <andreas.heinrich@rwth-aachen.de>
Signed-off-by: Andreas Heinrich <andreas.heinrich@rwth-aachen.de>
Signed-off-by: Andreas Heinrich <andreas.heinrich@rwth-aachen.de>
include/framework/everest.hpp Outdated Show resolved Hide resolved
include/framework/everest.hpp Outdated Show resolved Hide resolved
lib/error/error_factory.cpp Outdated Show resolved Hide resolved
@hikinggrass
Copy link
Contributor

There should be a version bump in the CMakeLists.txt before merging this :)

Signed-off-by: Andreas Heinrich <andreas.heinrich@rwth-aachen.de>
@andistorm andistorm marked this pull request as ready for review May 16, 2024 11:12
@andistorm andistorm merged commit 1f8bce3 into main May 16, 2024
4 of 5 checks passed
@andistorm andistorm deleted the feature/add-error-subtype branch May 16, 2024 11: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.

None yet

2 participants