Your IP : 3.14.134.195


Current Path : /opt/alt/python312/lib64/python3.12/asyncio/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/asyncio/__pycache__/exceptions.cpython-312.pyc

�

�Q�f����dZdZGd�de�ZeZGd�de�ZGd�de�ZGd�d	e	�Z
Gd
�de�ZGd�d
e�Zy)zasyncio exceptions.)�BrokenBarrierError�CancelledError�InvalidStateError�TimeoutError�IncompleteReadError�LimitOverrunError�SendfileNotAvailableErrorc��eZdZdZy)rz!The Future or Task was cancelled.N��__name__�
__module__�__qualname__�__doc__���9/opt/alt/python312/lib64/python3.12/asyncio/exceptions.pyrr
s��+rrc��eZdZdZy)rz+The operation is not allowed in this state.Nr
rrrrrs��5rrc��eZdZdZy)rz~Sendfile syscall is not available.

    Raised if OS does not support sendfile syscall for given socket or
    file type.
    Nr
rrrrrs��rrc�(��eZdZdZ�fd�Zd�Z�xZS)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)
    c�|��|�dn
t|�}t�|�	t|��d|�d��||_||_y)N�	undefinedz bytes read on a total of z expected bytes)�repr�super�__init__�len�partial�expected)�selfrr�
r_expected�	__class__s    �rrzIncompleteReadError.__init__$sE���$,�$4�[�$�x�.�
�
���C��L�>�)C�&�<��8�	9���� ��
rc�H�t|�|j|jffS�N)�typerr�rs r�
__reduce__zIncompleteReadError.__reduce__+s���D�z�D�L�L�$�-�-�8�8�8r�rrr
rrr$�
__classcell__�rs@rrrs����!�9rrc�(��eZdZdZ�fd�Zd�Z�xZS)rz�Reached the buffer limit while looking for a separator.

    Attributes:
    - consumed: total number of to be consumed bytes.
    c�2��t�|�|�||_yr!)rr�consumed)r�messager*rs   �rrzLimitOverrunError.__init__5s���
����!� ��
rc�N�t|�|jd|jffS)N�)r"�argsr*r#s rr$zLimitOverrunError.__reduce__9s"���D�z�D�I�I�a�L�$�-�-�8�8�8rr%r's@rrr/s����
!�9rrc��eZdZdZy)rz*Barrier is broken by barrier.abort() call.Nr
rrrrr=s��4rrN)
r�__all__�
BaseExceptionrr�	Exceptionr�RuntimeErrorr�EOFErrorrrrrrr�<module>r5s^���(��,�]�,���6�	�6����9�(�9�$9�	�9�5��5r

?>