doc / ch.tutteli.atrium.reporting.translating / Untranslatable / <init>

<init>

Untranslatable(representation: CharSequence)

Use this overload if the creation of the representation is cheap -- use the other overload with the lambda instead, if the creation of the representation is expensive.

Parameters

representation - The representation of this Translatable.

Untranslatable(representation: () -> String)

Use this overload if the creation of the representation is expensive. If it is cheap, then you might want to use the other overload with CharSequence as parameter type.

Parameters

representation - A lambda which will create the representation of this Translatable.

Constructor
Use this overload if the creation of the representation is expensive. If it is cheap, then you might want to use the other overload with CharSequence as parameter type.