report
fun <T> report(value: T, type: ValidationResult.ErrorEntry.Type<String>, error: String, e: Throwable? = null): T
Pass-through method that attaches a string-based error to this mutable and then provides the value back that prompted the error
You can see an example of this in ValidatedColor
Return
value out the other end
Author
fzzyhmstrs
Since
0.7.0