a
´ia ã @ sl d Z dZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd „ d eƒZG d
d„ de ƒZ
G dd
„ d
eƒZdS )zasyncio exceptions.)ÚCancelledErrorÚInvalidStateErrorÚTimeoutErrorÚIncompleteReadErrorÚLimitOverrunErrorÚSendfileNotAvailableErrorc @ s e Zd ZdZdS )r z!The Future or Task was cancelled.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r r ú*/usr/lib64/python3.9/asyncio/exceptions.pyr s r c @ s e Zd ZdZdS )r z*The operation exceeded the given deadline.Nr r r r r
r
s r c @ s e Zd ZdZdS )r z+The operation is not allowed in this state.Nr r r r r
r s r c @ s e Zd ZdZdS )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 c s( e Zd ZdZ‡ fdd„Zdd„ Z‡ ZS )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 s@ |d u rdnt |ƒ}tƒ t|ƒ› d|› d�¡ || _|| _d S )NZ undefinedz bytes read on a total of z expected bytes)ÚreprÚsuperÚ__init__ÚlenÚpartialÚexpected)Úselfr r Z
r_expected©Ú __class__r r
r $ s ÿ
zIncompleteReadError.__init__c C s t | ƒ| j| jffS ©N)Útyper r ©r r r r
Ú
__reduce__+ s zIncompleteReadError.__reduce__©r r r
r r r Ú
__classcell__r r r r
r s r c s( e Zd ZdZ‡ fdd„Zdd„ Z‡ ZS )r zƒReached the buffer limit while looking for a separator.
Attributes:
- consumed: total number of to be consumed bytes.
c s t ƒ |¡ || _d S r )r r Úconsumed)r Úmessager r r r
r 5 s zLimitOverrunError.__init__c C s t | ƒ| jd | jffS )Né )r Úargsr r r r r
r 9 s zLimitOverrunError.__reduce__r r r r r
r / s r N)r Ú__all__Ú
BaseExceptionr Ú Exceptionr r ÚRuntimeErrorr ÚEOFErrorr r r r r r
Ú