I am getting:
io.reactivex.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call
I had tried to add
.doOnError { error ->
Log.i("reverser code error",error.localizedMessage)
}.onErrorReturn { err ->
"Return method"
}
But it's not working.