ErrorConsumer

interface ErrorConsumer

Consumes validation errors

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
open fun nested(description: String, block: () -> Unit)

Runs specified block in a nested validation scope with provided description

Inheritors

Link copied to clipboard