aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils
diff options
context:
space:
mode:
Diffstat (limited to 'bot/utils')
-rw-r--r--bot/utils/exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/exceptions.py b/bot/utils/exceptions.py
index 73c8e3e1..b4175695 100644
--- a/bot/utils/exceptions.py
+++ b/bot/utils/exceptions.py
@@ -7,7 +7,7 @@ class UserNotPlayingError(Exception):
pass
-class ExternalAPIError(Exception):
+class APIError(Exception):
"""Raised when an external API(eg. Wikipedia) returns an error response."""
def __init__(self, api: str, status_code: int, error_msg: Optional[str] = None):