doc / ch.tutteli.atrium.domain.creating.any.typetransformation.failurehandlers / FailureHandlerFactory / newExplanatory

newExplanatory

abstract fun <S : Any, T : Any> newExplanatory(): FailureHandler<S, T> (source)

Creates a AnyTypeTransformation.FailureHandler which wraps subsequent assertions into an AssertionGroup with an ExplanatoryAssertionGroupType so that the user of Atrium can see in error reporting what one wanted to assert additionally.