diff --git a/dev-requirements.txt b/dev-requirements.txt index 82374d2..1f3594e 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,4 +1,4 @@ -coverage==4.4 +coverage==4.4.1 mock==2.0.0 nose==1.3.7 nose-capturestderr==1.2 diff --git a/wakatime/constants.py b/wakatime/constants.py index ae71737..3e1905f 100644 --- a/wakatime/constants.py +++ b/wakatime/constants.py @@ -39,6 +39,12 @@ Exit code used when the JSON input from `--extra-heartbeats` is malformed. """ MALFORMED_HEARTBEAT_ERROR = 106 +""" Connection Error +Exit code used when there was proxy or other problem connecting to the WakaTime +API servers. +""" +CONNECTION_ERROR = 107 + """ Max file size supporting line number count stats. Files larger than this in bytes will not have a line count stat for performance. Default is 2MB.