ValidationResult

fun ValidationResult(valid: Boolean = true, errorText: String? = null)