toString

open override fun toString(): String

Returns a string representation of this Failure instance.

Includes the message and, if present, the cause's class name.

Return

A string in the format "Failure(message=

$message, cause=$

cause)".