ZahidRasheed
12/15/2016 - 8:57 AM

Retrofit Error Response

Retrofit Error Response

Response response = Response.error(HttpURLConnection.HTTP_INTERNAL_ERROR, ResponseBody.create(MediaType.parse("application/json"),"Internal Server Error"));