class documentation

class ExceptionReporter:

View In Hierarchy

Organize and coordinate reporting on exceptions.
Method get​_traceback​_data Return a dictionary containing traceback information.
Method get​_traceback​_html Return HTML version of debug 500 HTTP error page.
Method get​_traceback​_text Return plain text version of debug 500 HTTP error page.
Method __init__ Undocumented
Method ​_get​_explicit​_or​_implicit​_cause Undocumented
Method ​_get​_lines​_from​_file Return context_lines before and after lineno from file. Return (pre_context_lineno, pre_context, context_line, post_context).
Method ​_get​_raw​_insecure​_uri Return an absolute URI from variables available in this request. Skip allowed hosts protection, so may return insecure URI.
Method ​_get​_source Undocumented
Method get​_exception​_traceback​_frames Undocumented
Method get​_traceback​_frames Undocumented
Instance Variable exc​_type Undocumented
Instance Variable exc​_value Undocumented
Instance Variable filter Undocumented
Instance Variable is​_email Undocumented
Instance Variable postmortem Undocumented
Instance Variable request Undocumented
Instance Variable tb Undocumented
Instance Variable template​_does​_not​_exist Undocumented
Instance Variable template​_info Undocumented
Property html​_template​_path Undocumented
Property text​_template​_path Undocumented
def get_traceback_data(self):
Return a dictionary containing traceback information.
def get_traceback_html(self):
Return HTML version of debug 500 HTTP error page.
def get_traceback_text(self):
Return plain text version of debug 500 HTTP error page.
def __init__(self, request, exc_type, exc_value, tb, is_email=False):

Undocumented

def _get_explicit_or_implicit_cause(self, exc_value):

Undocumented

def _get_lines_from_file(self, filename, lineno, context_lines, loader=None, module_name=None):
Return context_lines before and after lineno from file. Return (pre_context_lineno, pre_context, context_line, post_context).
def _get_raw_insecure_uri(self):
Return an absolute URI from variables available in this request. Skip allowed hosts protection, so may return insecure URI.
def _get_source(self, filename, loader, module_name):

Undocumented

def get_exception_traceback_frames(self, exc_value, tb):

Undocumented

def get_traceback_frames(self):

Undocumented

exc_type =

Undocumented

exc_value =

Undocumented

filter =

Undocumented

is_email =

Undocumented

postmortem =

Undocumented

request =

Undocumented

tb =

Undocumented

template_does_not_exist: bool =

Undocumented

template_info =

Undocumented

@property
html_template_path =

Undocumented

@property
text_template_path =

Undocumented