exceptionOrNull method

Failure? exceptionOrNull()

Returns the encapsulated Throwable exception if this instance represents failure or null if it is success. */

Implementation

Failure? exceptionOrNull() => failure;