OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
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 | |
ctx | |
cmd | |
![]() | |
message | |
Static Public Attributes | |
int | exit_code = 2 |
![]() | |
int | exit_code = 1 |
An internal exception that signals a usage error. This typically aborts any further handling. :param message: the error message to display. :param ctx: optionally the context that caused this error. Click will fill in the context automatically in some situations.
def __init__ | ( | self, | |
message, | |||
ctx = None |
|||
) |
Reimplemented in BadArgumentUsage.
def show | ( | self, | |
file = None |
|||
) |
Reimplemented from ClickException.
cmd |
ctx |
|
static |