Returns information about any error on the underlying file. This method is called after the `.IOLoop` has signaled an error on the file descriptor, and should return an Exception (such as `socket.error` with additional information, or None if no such information is a
(self)
| 317 | raise NotImplementedError() |
| 318 | |
| 319 | def get_fd_error(self) -> Optional[Exception]: |
| 320 | """Returns information about any error on the underlying file. |
| 321 | |
| 322 | This method is called after the `.IOLoop` has signaled an error on the |
| 323 | file descriptor, and should return an Exception (such as `socket.error` |
| 324 | with additional information, or None if no such information is |
| 325 | available. |
| 326 | """ |
| 327 | return None |
| 328 | |
| 329 | def read_until_regex( |
| 330 | self, regex: bytes, max_bytes: Optional[int] = None |