Handle an application error. May reset the server to Unknown, clear the pool, and request an immediate check depending on the error and the context.
(self, address: _Address, err_ctx: _ErrorContext)
| 929 | server._monitor.cancel_check() |
| 930 | |
| 931 | async def handle_error(self, address: _Address, err_ctx: _ErrorContext) -> None: |
| 932 | """Handle an application error. |
| 933 | |
| 934 | May reset the server to Unknown, clear the pool, and request an |
| 935 | immediate check depending on the error and the context. |
| 936 | """ |
| 937 | async with self._lock: |
| 938 | await self._handle_error(address, err_ctx) |
| 939 | |
| 940 | def _request_check_all(self) -> None: |
| 941 | """Wake all monitors. Hold the lock when calling this.""" |
no test coverage detected