Your IP : 3.137.221.252


Current Path : /opt/alt/python310/lib64/python3.10/asyncio/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/asyncio/__pycache__/exceptions.cpython-310.opt-1.pyc

o

6��fa�@sldZdZGdd�de�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de	�Z
Gdd
�d
e�ZdS)zasyncio exceptions.)�CancelledError�InvalidStateError�TimeoutError�IncompleteReadError�LimitOverrunError�SendfileNotAvailableErrorc@�eZdZdZdS)rz!The Future or Task was cancelled.N��__name__�
__module__�__qualname__�__doc__�r
r
�9/opt/alt/python310/lib64/python3.10/asyncio/exceptions.pyr	�rc@r)rz*The operation exceeded the given deadline.Nrr
r
r
rr
rrc@r)rz+The operation is not allowed in this state.Nrr
r
r
rrrrc@r)rz~Sendfile syscall is not available.

    Raised if OS does not support sendfile syscall for given socket or
    file type.
    Nrr
r
r
rrrrc�(eZdZdZ�fdd�Zdd�Z�ZS)rz�
    Incomplete read error. Attributes:

    - partial: read bytes string before the end of stream was reached
    - expected: total number of expected bytes (or None if unknown)
    cs@|durdnt|�}t��t|��d|�d��||_||_dS)NZ	undefinedz bytes read on a total of z expected bytes)�repr�super�__init__�len�partial�expected)�selfrrZ
r_expected��	__class__r
rr$s
�
zIncompleteReadError.__init__cCst|�|j|jffS�N)�typerr�rr
r
r�
__reduce__+szIncompleteReadError.__reduce__�r	r
rrrr�
__classcell__r
r
rrrsrcr)rz�Reached the buffer limit while looking for a separator.

    Attributes:
    - consumed: total number of to be consumed bytes.
    cst��|�||_dSr)rr�consumed)r�messager rr
rr5s
zLimitOverrunError.__init__cCst|�|jd|jffS)N�)r�argsr rr
r
rr9szLimitOverrunError.__reduce__rr
r
rrr/srN)r�__all__�
BaseExceptionr�	Exceptionrr�RuntimeErrorr�EOFErrorrrr
r
r
r�<module>s

?>