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 WebFlux equivalent of ResponseEntityExceptionHandler #28439

Closed
Tracked by #27052
rstoyanchev opened this issue May 10, 2022 · 1 comment
Closed
Tracked by #27052

Add WebFlux equivalent of ResponseEntityExceptionHandler #28439

rstoyanchev opened this issue May 10, 2022 · 1 comment
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@rstoyanchev
Copy link
Contributor

This would be helpful to facilitate customization of error messages for all framework exceptions especially for RFC 7807 problem details, under #27052.

@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement labels May 10, 2022
@rstoyanchev rstoyanchev added this to the 6.0.0-M5 milestone May 10, 2022
@rstoyanchev rstoyanchev self-assigned this May 10, 2022
rstoyanchev added a commit that referenced this issue Jul 12, 2022
- update handler methods for lower level exceptions to create a mapping
to a ProblemDetail.
- add protected method for creating the ResponseEntity that a subclass
can override to re-create ProblemDetail without overriding the rest
of what handleExceptionInternal does.
- update Javadoc and polishing

See gh-28439
@rstoyanchev
Copy link
Contributor Author

Fixed in 263811e but referenced wrong issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant