problem-details icon indicating copy to clipboard operation
problem-details copied to clipboard

Specify type & code via config

Open t1 opened this issue 4 years ago • 0 comments

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.

t1 avatar Mar 16 '21 04:03 t1