Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle errors when not internet connection is available #3

Open
modmax opened this issue Aug 30, 2015 · 0 comments
Open

Handle errors when not internet connection is available #3

modmax opened this issue Aug 30, 2015 · 0 comments
Labels

Comments

@modmax
Copy link

modmax commented Aug 30, 2015

Right now no internet connection leads to a "mapping exception", cause nothing was read (or at least just a system message).
The response status in such cases is 0; so a response status of 0 should be handled as connection error and an appropiate API exception with exception type CONNECTION_ERROR should be thrown.

@Omertron Omertron added the bug label Nov 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants