doc / ch.tutteli.atrium.logic.creating.transformers.impl.subjectchanger / FailureHandlerStepImpl / withFailureHandler

withFailureHandler

fun withFailureHandler(failureHandler: SubjectChanger.FailureHandler<T, R>): SubjectChangerBuilder.FinalStep<T, R>

Overrides FailureHandlerStep.withFailureHandler

Uses the given failureHandler as SubjectChanger.FailureHandler to create the failing assertion in case the subject change fails.