this is library that i use:
compile 'io.reactivex:rxjava:1.1.5'
compile 'io.reactivex:rxandroid:1.2.0'
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
compile 'com.squareup.okhttp3:okhttp:3.0.1'
I read this article but as you can see in comment some error occurred with Throwable.
with new version of retrofit we can easily get status code and message but type is unknown(Resonse). anyway, how can i get response body object with these versions?I want to get the error object.I looking for an adapter for it and the exception.