MCPcopy Index your code
hub / github.com/nodejs/node / render_as_text

Method render_as_text

tools/inspector_protocol/jinja2/debug.py:97–101  ·  view source on GitHub ↗

Return a string with the traceback.

(self, limit=None)

Source from the content-addressed store, hash-verified

95 prev_tb.set_next(None)
96
97 def render_as_text(self, limit=None):
98 """Return a string with the traceback."""
99 lines = traceback.format_exception(self.exc_type, self.exc_value,
100 self.frames[0], limit=limit)
101 return ''.join(lines).rstrip()
102
103 def render_as_html(self, full=False):
104 """Return a unicode string with the traceback as rendered HTML."""

Callers 1

render_as_htmlMethod · 0.95

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected