aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-11-16 20:19:32 +0200
committerGravatar ks129 <[email protected]>2020-11-16 20:19:32 +0200
commit91fb33becdae3b40a05737e5db4073572a482fe4 (patch)
treea7b81d0d8e7e951a24b6cf0ab2c3b5746395c377
parentAdd months Enum to constants (diff)
Add BrandingError to errors
-rw-r--r--bot/errors.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bot/errors.py b/bot/errors.py
index 65d715203..a3484830b 100644
--- a/bot/errors.py
+++ b/bot/errors.py
@@ -18,3 +18,9 @@ class LockedResourceError(RuntimeError):
f"Cannot operate on {self.type.lower()} `{self.id}`; "
"it is currently locked and in use by another operation."
)
+
+
+class BrandingError(Exception):
+ """Exception raised by the BrandingManager cog."""
+
+ pass