o
0ia @ sl d Z dZG dd deZG dd deZG dd deZG dd d eZG d
d de Z
G dd
d
eZdS )zasyncio exceptions.)CancelledErrorInvalidStateErrorTimeoutErrorIncompleteReadErrorLimitOverrunErrorSendfileNotAvailableErrorc @ e Zd ZdZdS )r z!The Future or Task was cancelled.N__name__
__module____qualname____doc__ r
r
9/opt/alt/python310/lib64/python3.10/asyncio/exceptions.pyr r c @ r )r z*The operation exceeded the given deadline.Nr r
r
r
r r
r r c @ r )r z+The operation is not allowed in this state.Nr r
r
r
r r r r c @ r )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 r r c ( e Zd ZdZ fddZdd 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)reprsuper__init__lenpartialexpected)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 r )r zReached 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