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

Public Member Functions

def __init__ (self, status, errors, *args, **kwargs)
 
def to_dict (self, *args, **kwargs)
 

Data Fields

 errors
 

Detailed Description

HTTPError that stores a dictionary of validation error messages.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  status,
  errors,
args,
**  kwargs 
)

Member Function Documentation

◆ to_dict()

def to_dict (   self,
args,
**  kwargs 
)
Override `falcon.HTTPError` to include error messages in responses.

Field Documentation

◆ errors

errors

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