ErrorConsumer

interface ErrorConsumer

Consumes validation errors

Inheritors

Functions

Link copied to clipboard
open fun consumeError(error: String)

Consumes a generic error not related to any property

Link copied to clipboard
open fun consumePropertyError(property: String, error: String)

Consumes property error

Link copied to clipboard
abstract fun errorsReported(): Boolean
Link copied to clipboard
open fun nested(description: String, block: () -> Unit)

Runs specified block in a nested validation scope with provided description