Render an exception.
(
self, e: BaseException, *, highlight: bool, paginate: bool
)
| 83 | self._display_result(result, paginate=paginate) |
| 84 | |
| 85 | def display_exception( |
| 86 | self, e: BaseException, *, highlight: bool, paginate: bool |
| 87 | ) -> None: |
| 88 | """ |
| 89 | Render an exception. |
| 90 | """ |
| 91 | result = self._insert_out_prompt_and_split_lines( |
| 92 | self._format_exception_output(e, highlight=highlight), |
| 93 | out_prompt="", |
| 94 | ) |
| 95 | self._display_result(result, paginate=paginate) |
| 96 | |
| 97 | def display_style_and_text_tuples( |
| 98 | self, |
no test coverage detected