관리-도구
편집 파일: exceptions.cpython-312.opt-1.pyc
� �Q�f� � � � d Z dZ G d� de� ZeZ G d� de� Z G d� de� Z G d� d e � Z G d � de� Z G d� d e� Zy)zasyncio exceptions.)�BrokenBarrierError�CancelledError�InvalidStateError�TimeoutError�IncompleteReadError�LimitOverrunError�SendfileNotAvailableErrorc � � e Zd ZdZy)r z!The Future or Task was cancelled.N��__name__� __module__�__qualname__�__doc__� � �9/opt/alt/python312/lib64/python3.12/asyncio/exceptions.pyr r s � �+r r c � � e Zd ZdZy)r z+The operation is not allowed in this state.Nr r r r r r s � �5r r c � � e Zd ZdZy)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 Zd ZdZ� fd�Zd� Z� xZS )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 �| �� |�dn t |� }t �| � t |� � d|� d�� || _ || _ y )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 zIncompleteReadError.__init__$ sE �� �$,�$4�[�$�x�.� � ���C��L�>�)C�&�<��8� 9���� �� r c �H � t | � | j | j ffS �N)�typer r �r s r � __reduce__zIncompleteReadError.__reduce__+ s � ��D�z�D�L�L�$�-�-�8�8�8r �r r r r r r$ � __classcell__�r s @r r r s �� ��!�9r r c �( � � e Zd ZdZ� fd�Zd� Z� xZS )r z�Reached the buffer limit while looking for a separator. Attributes: - consumed: total number of to be consumed bytes. c �2 �� t �| � |� || _ y r! )r r �consumed)r �messager* r s �r r zLimitOverrunError.__init__5 s �� � ����!� �� r c �N � t | � | j d | j ffS )N� )r"