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

improve errorhandling in RequestHandlers #4

Open
kraftartberlin-micha opened this issue Sep 11, 2019 · 0 comments
Open

improve errorhandling in RequestHandlers #4

kraftartberlin-micha opened this issue Sep 11, 2019 · 0 comments
Assignees

Comments

@kraftartberlin-micha
Copy link
Owner

in future we want to decide the response code by the exception and this can end up with much catches or a big switch

idea:

  • put statuscodes into exceptions (second param) and read them
  • catch throwable one layer above (same behavior for all handler, but own behavior in handler still possible) to be safe for not catched exceptions
@kraftartberlin-micha kraftartberlin-micha changed the title improve errorhandling improve errorhandling in RequestHandlers Sep 11, 2019
@kraftartberlin-micha kraftartberlin-micha self-assigned this Sep 11, 2019
@kraftartberlin-micha kraftartberlin-micha added enhancement New feature or request refactoring and removed enhancement New feature or request labels Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant