In Retrofit 1.9.x there was RetrofitError.Kind.NETWORK , which allows you to easily determine if a failure has occurred due to a network error or not. In the new API 2.0, we no longer have RetrofitError is there a simple equivalent that we can use to check if Response failed due to the network?
source share