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