o ?Oga@sldZdZGdddeZGdddeZGdddeZGdd d eZGd d d e Z Gd d d eZ dS)zasyncio exceptions.)CancelledErrorInvalidStateError TimeoutErrorIncompleteReadErrorLimitOverrunErrorSendfileNotAvailableErrorc@eZdZdZdS)rz!The Future or Task was cancelled.N__name__ __module__ __qualname____doc__r r 9/opt/alt/python310/lib64/python3.10/asyncio/exceptions.pyr rc@r)rz*The operation exceeded the given deadline.Nrr r r rr rrc@r)rz+The operation is not allowed in this state.Nrr r r rrrrc@r)rz~Sendfile syscall is not available. Raised if OS does not support sendfile syscall for given socket or file type. Nrr r r rrrrc(eZdZdZfddZddZZS)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) cs@|durdnt|}tt|d|d||_||_dS)NZ undefinedz bytes read on a total of z expected bytes)reprsuper__init__lenpartialexpected)selfrrZ r_expected __class__r rr$s   zIncompleteReadError.__init__cCst||j|jffSN)typerrrr r r __reduce__+szIncompleteReadError.__reduce__r r r r rr __classcell__r r rrrs rcr)rzReached the buffer limit while looking for a separator. Attributes: - consumed: total number of to be consumed bytes. cst|||_dSr)rrconsumed)rmessager rr rr5s  zLimitOverrunError.__init__cCst||jd|jffS)N)rargsr rr r rr9szLimitOverrunError.__reduce__rr r rrr/s rN) r __all__ BaseExceptionr Exceptionrr RuntimeErrorrEOFErrorrrr r r rs