failed

fun failed(errorText: String): ValidationResult

Report an invalid text with an error text.