class documentation

class Traceback:

View In Hierarchy

Wraps a traceback.
Method __init__ Undocumented
Method filter​_hidden​_frames Remove the frames according to the paste spec.
Method log Log the ASCII traceback into a file object.
Method render​_full Render the Full HTML page with the traceback info.
Method render​_summary Render the traceback for the interactive console.
Instance Variable exc​_type Undocumented
Instance Variable exc​_value Undocumented
Instance Variable exception​_type Undocumented
Instance Variable frames Undocumented
Instance Variable groups Undocumented
Instance Variable tb Undocumented
Property exception String representation of the final exception.
Property id Undocumented
Property is​_syntax​_error Is it a syntax error?
Property plaintext Undocumented
def __init__(self, exc_type, exc_value, tb):

Undocumented

Parameters
exc​_type:t.Type[BaseException]Undocumented
exc​_value:BaseExceptionUndocumented
tb:TracebackTypeUndocumented
def filter_hidden_frames(self):
Remove the frames according to the paste spec.
def log(self, logfile=None):
Log the ASCII traceback into a file object.
Parameters
logfile:t.Optional[t.IO[str]]Undocumented
def render_full(self, evalex=False, secret=None, evalex_trusted=True):
Render the Full HTML page with the traceback info.
Parameters
evalex:boolUndocumented
secret:t.Optional[str]Undocumented
evalex​_trusted:boolUndocumented
Returns
strUndocumented
def render_summary(self, include_title=True):
Render the traceback for the interactive console.
Parameters
include​_title:boolUndocumented
Returns
strUndocumented
exc_type =

Undocumented

exc_value =

Undocumented

exception_type =

Undocumented

frames =

Undocumented

groups: list =

Undocumented

tb =

Undocumented

@property
exception: str =
String representation of the final exception.
@property
id: int =

Undocumented

@property
is_syntax_error: bool =
Is it a syntax error?
@cached_property
plaintext: str =

Undocumented