exceptionOrNull

Returns the failure exception, or null if this result is a success.