diff options
Diffstat (limited to 'discord/errors.py')
| -rw-r--r-- | discord/errors.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/discord/errors.py b/discord/errors.py index b0a6679c..6a016149 100644 --- a/discord/errors.py +++ b/discord/errors.py @@ -31,3 +31,7 @@ class InvalidEventName(Exception): class InvalidDestination(Exception): """Thrown when the destination from :meth:`Client.send_message` is invalid.""" pass + +class GatewayNotFound(Exception): + """Thrown when the gateway hub for the :class:`Client` websocket is not found.""" + pass |