about summary refs log tree commit diff stats
path: root/discord/utils/exceptions.py
diff options
context:
space:
mode:
authorNoah <mounderfod@gmail.com>2022-07-09 13:11:20 +0100
committerNoah <mounderfod@gmail.com>2022-07-09 13:11:20 +0100
commitae8e010b3735761156ac01307bf90520ab3f385d (patch)
tree7082bcf4dff37a84b19b4b2e5d31696b8770a680 /discord/utils/exceptions.py
parenta72d0da957af970c1608061d5dcfbf4df3975ffd (diff)
downloaddiscobra-ae8e010b3735761156ac01307bf90520ab3f385d.tar.gz
feat(http): Add basic API for sending HTTP requests
Also added some new stuff to `User` since it has changed since it was last used.
Diffstat (limited to 'discord/utils/exceptions.py')
-rw-r--r--discord/utils/exceptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/utils/exceptions.py b/discord/utils/exceptions.py
new file mode 100644
index 0000000..a7f035c
--- /dev/null
+++ b/discord/utils/exceptions.py
@@ -0,0 +1,3 @@
+class APIException(Exception):
+    """Raised when the Discord API returns an error."""
+