3 if sys.version_info >= (3, 8):
4 class CancelledError(BaseException): ...
5 class TimeoutError(Exception): ...
6 class InvalidStateError(Exception): ...
7 class SendfileNotAvailableError(RuntimeError): ...
8 class IncompleteReadError(EOFError):
11 def __init__(self, partial: bytes, expected: int | None) -> None: ...
12 class LimitOverrunError(Exception):
14 def __init__(self, message: str, consumed: int) -> None: ...