OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, option_name, message, ctx=None) |
![]() | |
def | __init__ (self, message, ctx=None) |
def | show (self, file=None) |
![]() | |
def | __init__ (self, message) |
def | format_message (self) |
def | __str__ (self) |
def | __str__ (self) |
Data Fields | |
option_name | |
![]() | |
ctx | |
cmd | |
![]() | |
message | |
Additional Inherited Members | |
![]() | |
int | exit_code = 2 |
![]() | |
int | exit_code = 1 |
Raised if an option is generally supplied but the use of the option was incorrect. This is for instance raised if the number of arguments for an option is not correct. .. versionadded:: 4.0 :param option_name: the name of the option being used incorrectly.
def __init__ | ( | self, | |
option_name, | |||
message, | |||
ctx = None |
|||
) |
option_name |