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

Method get_parts_of_chained_exception

IPython/core/tbtools.py:463–474  ·  view source on GitHub ↗
(
        self, evalue: BaseException | None
    )

Source from the content-addressed store, hash-verified

461 return getattr(exception_value, "__context__", None)
462
463 def get_parts_of_chained_exception(
464 self, evalue: BaseException | None
465 ) -> Optional[Tuple[type, BaseException, TracebackType]]:
466 chained_evalue = self._get_chained_exception(evalue)
467
468 if chained_evalue:
469 return (
470 chained_evalue.__class__,
471 chained_evalue,
472 chained_evalue.__traceback__,
473 )
474 return None
475
476 def prepare_chained_exception_message(
477 self, cause: BaseException | None

Callers 4

structured_tracebackMethod · 0.80
structured_tracebackMethod · 0.80
structured_tracebackMethod · 0.80

Calls 1

Tested by

no test coverage detected