doc / ch.tutteli.atrium.assertions.throwable.thrown.providers / TranslatableAsAbsentThrowableMessageProvider

TranslatableAsAbsentThrowableMessageProvider

class TranslatableAsAbsentThrowableMessageProvider : AbsentThrowableMessageProvider

Represents a ThrowableThrown.AbsentThrowableMessageProvider which is using a given Translatable which in $ turn explains an absent Throwable.

Constructors

<init>

TranslatableAsAbsentThrowableMessageProvider(translatable: Translatable)

Represents a ThrowableThrown.AbsentThrowableMessageProvider which is using a given Translatable which in $ turn explains an absent Throwable.

Properties

message

val message: RawString

The message can be used in reporting to represent the case that no Throwable was thrown at all.