-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Description
According to RFC-7807 (see https://tools.ietf.org/html/rfc7807) it would be useful to provide an invalid-params
field in case of 400 Bad Request
errors. This field is supposed to contain ALL violated parameters, no matter which Exception
type is caught by the ExceptionHandler
annotated methods.
Since in case of multiple violations it is possible that Exceptions
of different types occur (e.g. ConstraintViolationException
and MethodArgumentTypeMismatchException
from one request), those Exception
objects must be available in the ExceptionHandler
.
A solution would be a resolver for a List
of Exceptions
.
ascopes and knoobie
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement