U ifa@sldZdZGdddeZGdddeZGdddeZGdd d eZGd d d e Z Gd d d eZ dS)zasyncio exceptions.)CancelledErrorInvalidStateError TimeoutErrorIncompleteReadErrorLimitOverrunErrorSendfileNotAvailableErrorc@seZdZdZdS)rz!The Future or Task was cancelled.N__name__ __module__ __qualname____doc__r r 7/opt/alt/python38/lib64/python3.8/asyncio/exceptions.pyr src@seZdZdZdS)rz*The operation exceeded the given deadline.Nrr r r r r src@seZdZdZdS)rz+The operation is not allowed in this state.Nrr r r r rsrc@seZdZdZdS)rz~Sendfile syscall is not available. Raised if OS does not support sendfile syscall for given socket or file type. Nrr r r r rsrcs(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@|dkr dnt|}tt|d|d||_||_dS)NZ undefinedz bytes read on a total of z expected bytes)reprsuper__init__lenpartialexpected)selfrrZ r_expected __class__r r r$szIncompleteReadError.__init__cCst||j|jffSN)typerrrr r r __reduce__+szIncompleteReadError.__reduce__rr r r rr __classcell__r r rr rs rcs(eZdZdZfddZddZZS)rzReached the buffer limit while looking for a separator. Attributes: - consumed: total number of to be consumed bytes. cst|||_dSr)rrconsumed)rmessagerrr r r5s zLimitOverrunError.__init__cCst||jd|jffS)N)rargsrrr r r r9szLimitOverrunError.__reduce__rr r rr r/s rN) r __all__ BaseExceptionr Exceptionrr RuntimeErrorrEOFErrorrrr r r r s