doc / ch.tutteli.atrium.domain.builders.creating.changers / SubjectChangerBuilder / FailureHandlerOption / withFailureHandler

withFailureHandler

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

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