onErrorResumeNext

fun <T> Single<T>.onErrorResumeNext(nextSupplier: (Throwable) -> Single<T>): Single<T>

When the Single signals onError, resumes the flow with a new Single returned by nextSupplier.

Please refer to the corresponding RxJava document.


When the Single signals onError, resumes the flow with next.

Please refer to the corresponding RxJava document.