Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Error codes improvement #181

Open
carlosmorasalguero opened this issue Apr 26, 2017 · 0 comments
Open

Error codes improvement #181

carlosmorasalguero opened this issue Apr 26, 2017 · 0 comments

Comments

@carlosmorasalguero
Copy link

Hi, i noticed the error codes could be improved a little bit.

1: INVALID_URL_ERR // unable to connect to host
2: CONNECTION_ERR // able to connect to host, but unable to download the zip
3: UNZIP_ERR // unable to unzip the zip

For 1: INVALID_URL_ERR // unable to connect to host
the code says invalid url, but the error really means unable to connect to the host, could be due to lack for internet connectivity (device not online), or DNS error... i would suggest a change to have 1: UNABLE_TO_CONNECT

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants