added method to add a ValidationError from the outside into a ValidationResult