(
self, typ: Type[Exception], value: Exception, tb: types.TracebackType
)
| 825 | return True |
| 826 | |
| 827 | def handle_exception( |
| 828 | self, typ: Type[Exception], value: Exception, tb: types.TracebackType |
| 829 | ) -> bool: |
| 830 | if not self.running and not self.finished: |
| 831 | self.future = Future() |
| 832 | future_set_exc_info(self.future, (typ, value, tb)) |
| 833 | self.ctx_run(self.run) |
| 834 | return True |
| 835 | else: |
| 836 | return False |
| 837 | |
| 838 | |
| 839 | # Convert Awaitables into Futures. |
nothing calls this directly
no test coverage detected