diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-19 01:36:19 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-19 01:36:19 +0300 |
commit | dd88c8103e13f108a0fed51a82221fdf60f6a188 (patch) | |
tree | 14c0038cd71f9e4a8208278b4e9b5f67e1a91c47 /vk/error.py | |
parent | remove commented out code (diff) | |
download | vk-scripts-dd88c8103e13f108a0fed51a82221fdf60f6a188.tar.gz vk-scripts-dd88c8103e13f108a0fed51a82221fdf60f6a188.zip |
add Pylint configuration & fix the warnings
Diffstat (limited to 'vk/error.py')
-rw-r--r-- | vk/error.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vk/error.py b/vk/error.py index b80db4e..4182449 100644 --- a/vk/error.py +++ b/vk/error.py @@ -5,12 +5,13 @@ class APIError(RuntimeError): pass -class InvalidResponseError(APIError): +class InvalidAPIResponseError(APIError): def __init__(self, response): + super().__init__() self.response = response def __str__(self): return str(self.response) -class ConnectionError(APIError): +class APIConnectionError(APIError): pass |