fun failureCondition(failureCondition: FailureCondition): Unit
Adds the specified failure condition
fun failureCondition(init: FailureCondition.() -> Unit): FailureCondition
Adds a failure condition initialized with the specified init block
init
- block to initialize new failure condition
Return
added failure condition