We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3a983c commit 6b14fedCopy full SHA for 6b14fed
README.md
@@ -24,6 +24,11 @@ compile 'me.jessyan:rxerrorhandler:1.0.1' //rxjava1
24
@Override
25
public void handleResponseError(Context context, Throwable t) {
26
Log.w(TAG, "error handle");
27
+ if (t instanceof UnknownHostException) {
28
+ //Do something
29
+ }else if (t instanceof SocketTimeoutException) {
30
31
+ }//Handle other Exception
32
}
33
}).build();
34
```
0 commit comments