class Consumer : ErrorConsumer
Consumer(errors: MutableList<String> = arrayListOf()) |
val errors: MutableList<String> |
|
var scope: String |
fun consumeError(error: String): Unit
Consumes a generic error not related to any property |
|
fun consumePropertyError(property: String, error: String): Unit
Consumes property error |
|
fun nested(description: String, block: () -> Unit): Unit
Runs specified block in a nested validation scope with provided description |