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/Reporting funcionality to Py framework #122

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

andistorm
Copy link
Contributor

@andistorm andistorm commented Nov 15, 2023

  • Raise error: self._mod.raise_Error('<impl_id'>, '<error_type>', '<error_message>', '')
  • Request clear error by uuid: self._mod.request_clear_error_uuid('<impl_id>', '')
  • Request clear all error of one type: self._mod.request_clear_error_all_of_type('<impl_id>', '<error_type>')
  • Request clear all all of module/impl: self._mod.request_clear_error_all_of_module('<impl_id>')
  • Subscribe specific error type: m.subscribe_error(<req_fulfillment>, '<error_type>', <error_cb>, <error_cleared_cb>)
  • Subscribe all errors of req: m.susbcribe_all_errors(<req_fulfillment>, <error_cb>, <error_cleared_cb)

@andistorm andistorm changed the title Feature/error features py Add Error Handling/Reporting funcionality to Py framework Nov 15, 2023
* Raise error: self._mod.raise_Error('<impl_id'>, '<error_type>', '<error_message>', '<severity>')
* Request clear error by uuid: self._mod.request_clear_error_uuid('<impl_id>', '<uuid>')
* Request clear all error of one type: self._mod.request_clear_error_all_of_type('<impl_id>', '<error_type>')
* Request clear all all of module/impl: self._mod.request_clear_error_all_of_module('<impl_id>')
* Subscribe specific error type: m.subscribe_error(<req_fulfillment>, '<error_type>', <error_cb>, <error_cleared_cb>)
* Subscribe all errors of req: m.susbcribe_all_errors(<req_fulfillment>, <error_cb>, <error_cleared_cb)

Signed-off-by: Andreas Heinrich <andreas.heinrich@rwth-aachen.de>
@andistorm andistorm merged commit 9604e06 into main Nov 16, 2023
2 of 3 checks passed
@andistorm andistorm deleted the feature/error-features-py branch November 16, 2023 15:45
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