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

Specify type & code via config #44

Open
t1 opened this issue Mar 16, 2021 · 0 comments
Open

Specify type & code via config #44

t1 opened this issue Mar 16, 2021 · 0 comments

Comments

@t1
Copy link
Owner

t1 commented Mar 16, 2021

Add an option to configure the mapping of some built-in exceptions, e.g. org.eclipse.microprofile.faulttolerance.exceptions.CircuitBreakerOpenException to status code 503 Service Unavailable.

And there should be a default config for as many built-in exceptions as possible. See https://github.com/microprofile-extensions/jaxrs-ext/blob/master/configurable-exception-handler/README.md for a good starting point.

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

No branches or pull requests

1 participant