aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vk/error.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vk/error.py5
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