Return True if the exception is an instance of exc. Consider using ``isinstance(excinfo.value, exc)`` instead.
(self, exc: EXCEPTION_OR_MORE)
| 681 | return text |
| 682 | |
| 683 | def errisinstance(self, exc: EXCEPTION_OR_MORE) -> bool: |
| 684 | """Return True if the exception is an instance of exc. |
| 685 | |
| 686 | Consider using ``isinstance(excinfo.value, exc)`` instead. |
| 687 | """ |
| 688 | return isinstance(self.value, exc) |
| 689 | |
| 690 | def _getreprcrash(self) -> ReprFileLocation | None: |
| 691 | # Find last non-hidden traceback entry that led to the exception of the |
no outgoing calls