OpenQuizz
Une application de gestion des contenus pédagogiques
BadArgumentUsage Class Reference
Inheritance diagram for BadArgumentUsage:
Collaboration diagram for BadArgumentUsage:

Public Member Functions

def __init__ (self, message, ctx=None)
 
- Public Member Functions inherited from UsageError
def show (self, file=None)
 
- Public Member Functions inherited from ClickException
def __init__ (self, message)
 
def format_message (self)
 
def __str__ (self)
 
def __str__ (self)
 

Additional Inherited Members

- Data Fields inherited from UsageError
 ctx
 
 cmd
 
- Data Fields inherited from ClickException
 message
 
- Static Public Attributes inherited from UsageError
int exit_code = 2
 
- Static Public Attributes inherited from ClickException
int exit_code = 1
 

Detailed Description

Raised if an argument is generally supplied but the use of the argument
was incorrect.  This is for instance raised if the number of values
for an argument is not correct.

.. versionadded:: 6.0

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  message,
  ctx = None 
)

Reimplemented from UsageError.


The documentation for this class was generated from the following file: