class documentation

class InternalServerError(HTTPException):

View In Hierarchy

500 Internal Server Error

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

Changed in version 1.0.0: Added the original_exception attribute.
Method __init__ Undocumented
Class Variable code Undocumented
Class Variable description Undocumented
Instance Variable original​_exception Undocumented

Inherited from HTTPException:

Class Method wrap Create an exception that is a subclass of the calling HTTP exception and the exception argument.
Method __call__ Call the exception as WSGI application.
Method __repr__ Undocumented
Method __str__ Undocumented
Method get​_body Get the HTML body.
Method get​_description Get the description.
Method get​_headers Get a list of headers.
Method get​_response Get a response object. If one was passed to the exception it's returned directly.
Instance Variable response Undocumented
Property name The status name.
def __init__(self, description=None, response=None, original_exception=None):

Undocumented

Parameters
description:t.Optional[str]Undocumented
response:t.Optional[Response]Undocumented
original​_exception:t.Optional[BaseException]Undocumented
code: int =
description: str =
original_exception =

Undocumented