exceptionOrNull method

UserException? exceptionOrNull()
inherited

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

Implementation

Failure? exceptionOrNull() => failure;