MethodArgumentNotValidException
The exception Spring throws when @Valid finds a broken constraint. Its getBindingResult().getFieldErrors() lists each bad field and message, which ApiErrors turns into an errors map.
The exception Spring throws when @Valid finds a broken constraint. Its getBindingResult().getFieldErrors() lists each bad field and message, which ApiErrors turns into an errors map.