mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
34 lines
922 B
Python
34 lines
922 B
Python
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"
|
|
|
|
|
|
class RepeatedFlagNameException(Exception):
|
|
def __str__(self):
|
|
return "Repeated flag name in register command"
|
|
|
|
|
|
class CurrentCommandDoesNotProcessFlagsException(Exception):
|
|
def __str__(self):
|
|
return "Current command does not process flags"
|
|
|
|
|
|
class TooManyTransferredArgsException(Exception):
|
|
def __str__(self):
|
|
return "Too many transferred arguments"
|
|
|
|
|
|
class RequiredArgumentNotPassedException(Exception):
|
|
def __str__(self):
|
|
return "Required argument not passed"
|