mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
24 lines
655 B
Python
24 lines
655 B
Python
class RepeatedFlagNameException(Exception):
|
|
def __str__(self):
|
|
return "Repeated registered_flag name in register command"
|
|
|
|
|
|
class TooManyTransferredArgsException(Exception):
|
|
def __str__(self):
|
|
return "Too many transferred arguments"
|
|
|
|
|
|
class RequiredArgumentNotPassedException(Exception):
|
|
def __str__(self):
|
|
return "Required argument not passed"
|
|
|
|
|
|
class IncorrectNumberOfHandlerArgsException(Exception):
|
|
def __str__(self):
|
|
return "Handler has incorrect number of arguments"
|
|
|
|
|
|
class TriggerCannotContainSpacesException(Exception):
|
|
def __str__(self):
|
|
return "Command trigger cannot contain spaces"
|