Created
December 15, 2016 08:57
-
-
Save ZahidRasheed/fedf9d34463ec4b8ac79d9f3515017c3 to your computer and use it in GitHub Desktop.
Retrofit Error Response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Response response = Response.error(HttpURLConnection.HTTP_INTERNAL_ERROR, ResponseBody.create(MediaType.parse("application/json"),"Internal Server Error")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment