errors property
The set of validation error messages.
A Set is used to automatically deduplicate error messages. If the same error occurs in multiple validation rules, it appears only once in this set. This makes it easier to display errors to users without duplicates.
Implementation
final Set<String> errors;