One big challenge when using RxJava + Retrofit 2 Part 2

Retrofit 2 already offers a lot. However, there are some crucial changes. Perhaps one of the changes that affected us the most was the removal of RetrofitError. There are more than one reason why this class was removed, but we weren’t ready to give up on it so fast. As an intermediate step we needed to port its behavior to Retrofit 2 while using RxJava.

A very interesting answer was written by Frederico Gonçalves, you can read it here :

with the code snippet on how you can convert Retrofit Errors into streams and define it, not to break you original stream.


with the code snippet on how you can convert Retrofit Errors into streams and define it, not to break you original stream.