MCPcopy Index your code
hub / github.com/ipython/ipython / structured_traceback

Method structured_traceback

IPython/core/tbtools.py:543–555  ·  view source on GitHub ↗

Return a list of traceback frames. Must be implemented by each class.

(
        self,
        etype: type,
        evalue: BaseException | None,
        etb: Optional[TracebackType] = None,
        tb_offset: Optional[int] = None,
        context: int = 5,
    )

Source from the content-addressed store, hash-verified

541 return self.stb2text(tb_list)
542
543 def structured_traceback(
544 self,
545 etype: type,
546 evalue: BaseException | None,
547 etb: Optional[TracebackType] = None,
548 tb_offset: Optional[int] = None,
549 context: int = 5,
550 ) -> list[str]:
551 """Return a list of traceback frames.
552
553 Must be implemented by each class.
554 """
555 raise NotImplementedError()

Callers 1

textMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected