Lines Matching refs:exc
164 except OSError as exc:
166 if exc.errno in (errno.EMFILE, errno.ENFILE,
173 'exception': exc,
216 except Exception as exc:
221 'exception': exc,
370 except Exception as exc:
371 fut.set_exception(exc)
404 except Exception as exc:
405 fut.set_exception(exc)
437 except Exception as exc:
438 fut.set_exception(exc)
478 except Exception as exc:
479 fut.set_exception(exc)
498 except Exception as exc:
499 fut.set_exception(exc)
528 except Exception as exc:
529 fut.set_exception(exc)
658 def _fatal_error(self, exc, message='Fatal error on transport'): argument
660 if isinstance(exc, base_events._FATAL_ERROR_IGNORE):
666 'exception': exc,
670 self._force_close(exc)
672 def _force_close(self, exc): argument
682 self._loop.call_soon(self._call_connection_lost, exc)
684 def _call_connection_lost(self, exc): argument
687 self._protocol.connection_lost(exc)
774 except Exception as exc:
776 exc, 'Fatal error: protocol.get_buffer() call failed.')
783 except Exception as exc:
784 self._fatal_error(exc, 'Fatal read error on socket transport')
793 except Exception as exc:
795 exc, 'Fatal error: protocol.buffer_updated() call failed.')
804 except Exception as exc:
805 self._fatal_error(exc, 'Fatal read error on socket transport')
814 except Exception as exc:
816 exc, 'Fatal error: protocol.data_received() call failed.')
824 except Exception as exc:
826 exc, 'Fatal error: protocol.eof_received() call failed.')
860 except Exception as exc:
861 self._fatal_error(exc, 'Fatal write error on socket transport')
883 except Exception as exc:
886 self._fatal_error(exc, 'Fatal write error on socket transport')
888 self._empty_waiter.set_exception(exc)
912 def _call_connection_lost(self, exc): argument
913 super()._call_connection_lost(exc)
957 except OSError as exc:
958 self._protocol.error_received(exc)
959 except Exception as exc:
960 self._fatal_error(exc, 'Fatal read error on datagram transport')
991 except OSError as exc:
992 self._protocol.error_received(exc)
994 except Exception as exc:
996 exc, 'Fatal write error on datagram transport')
1014 except OSError as exc:
1015 self._protocol.error_received(exc)
1017 except Exception as exc:
1019 exc, 'Fatal write error on datagram transport')