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

TranslatableAsAbsentThrowableMessageProvider

class TranslatableAsAbsentThrowableMessageProvider : ThrowableThrown.AbsentThrowableMessageProvider (source)
Deprecated: Use the provider from package creating; will be removed with 1.0.0

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.