Helper function to lose the connection with the error sent as a reason
(self, errors: list[BaseException])
| 262 | self._write_to_transport() |
| 263 | |
| 264 | def _lose_connection_with_error(self, errors: list[BaseException]) -> None: |
| 265 | """Helper function to lose the connection with the error sent as a |
| 266 | reason""" |
| 267 | self._conn_lost_errors.extend(errors) |
| 268 | assert self.transport is not None # typing |
| 269 | self.transport.loseConnection() |
| 270 | |
| 271 | def handshakeCompleted(self) -> None: |
| 272 | """ |
no test coverage detected