Text

constructor(e: Exception)(source)

Constructs a Text instance with a message generated from the given exception.

The message is built using the exception's class name and its message.

Parameters

e

The exception from which to generate the message.


constructor(text: String)(source)