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

Public Member Functions

def __init__ (self, description=None, response=None, original_exception=None)
 
- Public Member Functions inherited from HTTPException
def __init__ (self, description=None, response=None)
 
def wrap (cls, exception, name=None)
 
def name (self)
 
def get_description (self, environ=None)
 
def get_body (self, environ=None)
 
def get_headers (self, environ=None)
 
def get_response (self, environ=None)
 
def __call__ (self, environ, start_response)
 
def __str__ (self)
 
def __repr__ (self)
 

Data Fields

 original_exception
 
- Data Fields inherited from HTTPException
 response
 

Static Public Attributes

 code
 
 description
 
- Static Public Attributes inherited from HTTPException
 code
 
 description
 

Detailed Description

*500* `Internal Server Error`

Raise if an internal server error occurred.  This is a good fallback if an
unknown error occurred in the dispatcher.

.. versionchanged:: 1.0.0
    Added the :attr:`original_exception` attribute.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  description = None,
  response = None,
  original_exception = None 
)

Field Documentation

◆ code

code
static

◆ description

description
static

◆ original_exception

original_exception

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