RxJava2-MVVM-Android-Structure icon indicating copy to clipboard operation
RxJava2-MVVM-Android-Structure copied to clipboard

onErrorResumeNext() always throws

Open tmtron opened this issue 8 years ago • 0 comments

In LoginAPIService and RegistrationAPIService, you use onErrorResumeNext() with a method that always throws an Exception, but never returns an Observable.

Isn't it better to just use doOnError() for that?

tmtron avatar Feb 07 '17 18:02 tmtron