This commit is contained in:
2025-02-09 02:37:44 +03:00
parent 213525915d
commit 8a3f742636
6 changed files with 184 additions and 58 deletions
+5
View File
@@ -11,3 +11,8 @@ class InvalidDescriptionInstanceException(Exception):
class UnknownCommandHandlerHasAlreadyBeenCreatedException(Exception):
def __str__(self):
return "Only one unknown command handler can be declared"
class RepeatedCommandException(Exception):
def __str__(self):
return "Commands in handler cannot be repeated"