diff options
author | 2020-04-08 18:15:24 +0100 | |
---|---|---|
committer | 2020-04-08 18:15:24 +0100 | |
commit | 30b73caa8244d43a1d48a9a4e652543844bbad4d (patch) | |
tree | 6b3a80dfcd00fcdf442495a161cad9032d5bbcd0 /bot/utils/exceptions.py | |
parent | Merge pull request #392 from python-discord/fetch-devlog-channel (diff) | |
parent | (Error Handler): Added `UserNotPlayingError` catching to error handler. (diff) |
Merge pull request #396 from ks129/keyerrors-fix
* Add error handling for invalid APOD dates
* Add error handling for non-existent minesweeper games
Diffstat (limited to 'bot/utils/exceptions.py')
-rw-r--r-- | bot/utils/exceptions.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bot/utils/exceptions.py b/bot/utils/exceptions.py index 70c20e12..dc62debe 100644 --- a/bot/utils/exceptions.py +++ b/bot/utils/exceptions.py @@ -2,3 +2,9 @@ class BrandingError(Exception): """Exception raised by the BrandingManager cog.""" pass + + +class UserNotPlayingError(Exception): + """Will raised when user try to use game commands when not playing.""" + + pass |