mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
19 lines
525 B
Python
19 lines
525 B
Python
class InvalidCommandInstanceException(Exception):
|
|
def __str__(self):
|
|
return "Invalid Command Instance"
|
|
|
|
|
|
class InvalidDescriptionInstanceException(Exception):
|
|
def __str__(self):
|
|
return "Invalid Description Instance"
|
|
|
|
|
|
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"
|