Closed
Description
As described under #26219, in #26219 (comment) and #26219 (comment), when handling method validation errors, it's useful to know what it relates to, e.g. header name, cookie value, etc.
After #29825 and #30644 it is already possible to get a MethodParameter
from each ParameterValidationResult
and check parameter annotations. We can make it even easier to handle validation results for controller methods by method parameter type.