exceptionOrNull

Returns the encapsulated throwable if this state is UiState.Failure, or null otherwise.