doc / ch.tutteli.atrium.domain.builders.creating / AnyTypeTransformationFailureHandlerFactoryBuilder / newExplanatory

newExplanatory

inline fun <S : Any, T : Any> newExplanatory(): <ERROR CLASS> (source)

Overrides FailureHandlerFactory.newExplanatory

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.