This has been requested a number of times but so far has been deferred to Spring Boot which supports error response details. The corresponding spring-projects/spring-boot#19525 issue in Spring Boot has gathered quite a bit of feedback and comments.
For Spring Framework 6 we have an opportunity to revisit this topic and more generally, web error handling. Given a standard such as RFC 7807 for the format of error responses, the Spring Framework could provide more infrastructure that Boot can build on.
This has been requested a number of times but so far has been deferred to Spring Boot which supports error response details. The corresponding spring-projects/spring-boot#19525 issue in Spring Boot has gathered quite a bit of feedback and comments.
For Spring Framework 6 we have an opportunity to revisit this topic and more generally, web error handling. Given a standard such as RFC 7807 for the format of error responses, the Spring Framework could provide more infrastructure that Boot can build on.