|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, message=None, ctx=None, param=None, param_hint=None, param_type=None) |
| def | format_message (self) |
| def | __str__ (self) |
| def | __str__ (self) |
Public Member Functions inherited from BadParameter | |
| def | __init__ (self, message, ctx=None, param=None, param_hint=None) |
Public Member Functions inherited from UsageError | |
| def | __init__ (self, message, ctx=None) |
| def | show (self, file=None) |
Public Member Functions inherited from ClickException | |
| def | __init__ (self, message) |
Data Fields | |
| param_type | |
Data Fields inherited from BadParameter | |
| param | |
| param_hint | |
Data Fields inherited from UsageError | |
| ctx | |
| cmd | |
Data Fields inherited from ClickException | |
| message | |
Additional Inherited Members | |
Static Public Attributes inherited from UsageError | |
| int | exit_code = 2 |
Static Public Attributes inherited from ClickException | |
| int | exit_code = 1 |
Raised if click required an option or argument but it was not
provided when invoking the script.
.. versionadded:: 4.0
:param param_type: a string that indicates the type of the parameter.
The default is to inherit the parameter type from
the given `param`. Valid values are ``'parameter'``,
``'option'`` or ``'argument'``.
| def __init__ | ( | self, | |
message = None, |
|||
ctx = None, |
|||
param = None, |
|||
param_hint = None, |
|||
param_type = None |
|||
| ) |
| def __str__ | ( | self | ) |
Reimplemented from ClickException.
| def __str__ | ( | self | ) |
Reimplemented from ClickException.
| def format_message | ( | self | ) |
Reimplemented from BadParameter.
| param_type |