
    d                         d Z dZ G d de          ZeZ G d de          Z G d de          Z G d d	e	          Z
 G d
 de          Z G d de          ZdS )zasyncio exceptions.)BrokenBarrierErrorCancelledErrorInvalidStateErrorTimeoutErrorIncompleteReadErrorLimitOverrunErrorSendfileNotAvailableErrorc                       e Zd ZdZdS )r   z!The Future or Task was cancelled.N__name__
__module____qualname____doc__     $  /croot/python-split_1694437901252/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.11/asyncio/exceptions.pyr   r   
   s        ++++r   r   c                       e Zd ZdZdS )r   z+The operation is not allowed in this state.Nr
   r   r   r   r   r      s        5555r   r   c                       e Zd ZdZdS )r   z~Sendfile syscall is not available.

    Raised if OS does not support sendfile syscall for given socket or
    file type.
    Nr
   r   r   r   r   r      s           r   r   c                   (     e Zd ZdZ fdZd Z xZS )r   z
    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                     |dnt          |          }t                                          t          |           d| d           || _        || _        d S )N	undefinedz bytes read on a total of z expected bytes)reprsuper__init__lenpartialexpected)selfr   r   
r_expected	__class__s       r   r   zIncompleteReadError.__init__$   si    $,$4[[$x..
CLL 8 8&8 8 8 	9 	9 	9 r   c                 <    t          |           | j        | j        ffS N)typer   r   r   s    r   
__reduce__zIncompleteReadError.__reduce__+   s    DzzDL$-888r   r   r   r   r   r   r$   __classcell__r   s   @r   r   r      sQ         ! ! ! ! !9 9 9 9 9 9 9r   r   c                   (     e Zd ZdZ fdZd Z xZS )r   zReached the buffer limit while looking for a separator.

    Attributes:
    - consumed: total number of to be consumed bytes.
    c                 X    t                                          |           || _        d S r!   )r   r   consumed)r   messager*   r   s      r   r   zLimitOverrunError.__init__5   s&    !!! r   c                 H    t          |           | j        d         | j        ffS )N    )r"   argsr*   r#   s    r   r$   zLimitOverrunError.__reduce__9   s     DzzDIaL$-888r   r%   r'   s   @r   r   r   /   sQ         
! ! ! ! !9 9 9 9 9 9 9r   r   c                       e Zd ZdZdS )r   z*Barrier is broken by barrier.abort() call.Nr
   r   r   r   r   r   =   s        4444r   r   N)r   __all__BaseExceptionr   r   	Exceptionr   RuntimeErrorr   EOFErrorr   r   r   r   r   r   <module>r5      s    (, , , , ,] , , , 6 6 6 6 6	 6 6 6       9 9 9 9 9( 9 9 9$9 9 9 9 9	 9 9 95 5 5 5 5 5 5 5 5 5r   