class documentation

class ExceptionReporter: (source)

View In Hierarchy

Organize and coordinate reporting on exceptions.

Method __init__ Undocumented
Method get_exception_traceback_frames Undocumented
Method get_traceback_data Return a dictionary containing traceback information.
Method get_traceback_frames Undocumented
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.
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
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
def __init__(self, request, exc_type, exc_value, tb, is_email=False): (source)

Undocumented

def get_exception_traceback_frames(self, exc_value, tb): (source)

Undocumented

def get_traceback_data(self): (source)

Return a dictionary containing traceback information.

def get_traceback_frames(self): (source)

Undocumented

def get_traceback_html(self): (source)

Return HTML version of debug 500 HTTP error page.

def get_traceback_text(self): (source)

Return plain text version of debug 500 HTTP error page.

exc_type = (source)

Undocumented

exc_value = (source)

Undocumented

Undocumented

is_email = (source)

Undocumented

postmortem = (source)

Undocumented

Undocumented

Undocumented

template_does_not_exist: bool = (source)

Undocumented

template_info = (source)

Undocumented

@property
html_template_path = (source)

Undocumented

@property
text_template_path = (source)

Undocumented

def _get_explicit_or_implicit_cause(self, exc_value): (source)

Undocumented

def _get_lines_from_file(self, filename, lineno, context_lines, loader=None, module_name=None): (source)

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): (source)

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): (source)

Undocumented