jetbrains.buildServer.configs.kotlin.v2018_1 / ErrorConsumer

ErrorConsumer

interface ErrorConsumer

Consumes validation errors

Functions

consumeError

open fun consumeError(error: String): Unit

Consumes a generic error not related to any property

consumePropertyError

open fun consumePropertyError(property: String, error: String): Unit

Consumes property error

nested

open fun nested(description: String, block: () -> Unit): Unit

Runs specified block in a nested validation scope with provided description

Inheritors

Consumer

class Consumer : ErrorConsumer