fdZdZGddeZeZGddeZGddeZGdd e Z Gd d eZ Gd d eZ y)zasyncio exceptions.)BrokenBarrierErrorCancelledErrorInvalidStateError TimeoutErrorIncompleteReadErrorLimitOverrunErrorSendfileNotAvailableErrorceZdZdZy)rz!The Future or Task was cancelled.N__name__ __module__ __qualname____doc__)/usr/lib/python3.12/asyncio/exceptions.pyrr s+rrceZdZdZy)rz+The operation is not allowed in this state.Nr rrrrrs5rrceZdZdZy)rz~Sendfile syscall is not available. Raised if OS does not support sendfile syscall for given socket or file type. Nr rrrrrsrrc(eZdZdZfdZdZxZS)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) c||dn t|}t| t|d|d||_||_y)N undefinedz bytes read on a total of z expected bytes)reprsuper__init__lenpartialexpected)selfrr r_expected __class__s rrzIncompleteReadError.__init__$sE$,$4[$x.  CL>)C&<8 9   rcHt||j|jffSN)typerrrs r __reduce__zIncompleteReadError.__reduce__+sDzDLL$--888rr r r rrr$ __classcell__rs@rrrs !9rrc(eZdZdZfdZdZxZS)rzReached the buffer limit while looking for a separator. Attributes: - consumed: total number of to be consumed bytes. c2t||||_yr!)rrconsumed)rmessager*rs rrzLimitOverrunError.__init__5s !  rcNt||jd|jffS)N)r"argsr*r#s rr$zLimitOverrunError.__reduce__9s"DzDIIaL$--888rr%r's@rrr/s !9rrceZdZdZy)rz*Barrier is broken by barrier.abort() call.Nr rrrrr=s4rrN) r__all__ BaseExceptionrr Exceptionr RuntimeErrorrEOFErrorrrrrrrr5s^ ( ,], 6 6 9(9$ 9 955r