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

feat(core): add shared error handling tools for web services #1381

Open
petermetz opened this issue Sep 24, 2021 · 0 comments
Open

feat(core): add shared error handling tools for web services #1381

petermetz opened this issue Sep 24, 2021 · 0 comments
Labels
API_Server Core_API Changes related to the Core API Package dependencies Pull requests that update a dependency file Developer_Experience

Comments

@petermetz
Copy link
Contributor

petermetz commented Sep 24, 2021

There has to be a common and well documented way of throwing errors inside plugin implementations that the web service endpoint classes can re-use in their catch blocks.

It might also make sense to have a common utility for defining the web services themselves which would internally handle the distinction between unexpected and expected exceptions (no pun intended).

Once we have this common code in place, we can start working on the bigger refactoring of all the web services' error handling that are part of this epic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API_Server Core_API Changes related to the Core API Package dependencies Pull requests that update a dependency file Developer_Experience
Projects
None yet
Development

No branches or pull requests

1 participant