Generalize display of validation errors