I'm missing a getAssertType() function in the ConstraintViolation class which would indicate which constraint triggered the violation. This is useful when you make your own error response format, as currently it's impossible to tell which of the constraints on a member was triggered.