mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
23 lines
610 B
Python
23 lines
610 B
Python
__all__ = (
|
|
"CancelledError",
|
|
"InvalidStateError",
|
|
"TimeoutError",
|
|
"IncompleteReadError",
|
|
"LimitOverrunError",
|
|
"SendfileNotAvailableError",
|
|
)
|
|
|
|
class CancelledError(BaseException): ...
|
|
class TimeoutError(Exception): ...
|
|
class InvalidStateError(Exception): ...
|
|
class SendfileNotAvailableError(RuntimeError): ...
|
|
|
|
class IncompleteReadError(EOFError):
|
|
expected: int | None
|
|
partial: bytes
|
|
def __init__(self, partial: bytes, expected: int | None) -> None: ...
|
|
|
|
class LimitOverrunError(Exception):
|
|
consumed: int
|
|
def __init__(self, message: str, consumed: int) -> None: ...
|