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

Public Member Functions

def __init__ (self, message)
 
def format_message (self)
 
def __str__ (self)
 
def __str__ (self)
 
def show (self, file=None)
 

Data Fields

 message
 

Static Public Attributes

int exit_code = 1
 

Detailed Description

An exception that Click can handle and show to the user.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  message 
)

Member Function Documentation

◆ __str__() [1/2]

def __str__ (   self)

Reimplemented in MissingParameter, and MissingParameter.

◆ __str__() [2/2]

def __str__ (   self)

Reimplemented in MissingParameter, and MissingParameter.

◆ format_message()

def format_message (   self)

◆ show()

def show (   self,
  file = None 
)

Reimplemented in UsageError.

Field Documentation

◆ exit_code

int exit_code = 1
static

◆ message

message

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