a ÿé!^,ã@sHdZddlZddlZGdd„deƒZGdd„deƒZGdd„deƒZdS) z!Exception classes used by PexpectéNcs0eZdZdZ‡fdd„Zdd„Zdd„Z‡ZS)ÚExceptionPexpectz9Base class for all exceptions raised by this module. cstt|ƒ |¡||_dS©N)ÚsuperrÚ__init__Úvalue)Úselfr©Ú __class__©ú6/usr/lib/python3.9/site-packages/pexpect/exceptions.pyr szExceptionPexpect.__init__cCs t|jƒSr)Ústrr)rr r r Ú__str__szExceptionPexpect.__str__cCs4t t ¡d¡}dd„|Dƒ}t |¡}d |¡S)z¬This returns an abbreviated stack trace with lines that only concern the caller. In other words, the stack trace inside the Pexpect module is not included. écSs(g|] }d|dvrd|dvr|‘qS)zpexpect/__init__rzpexpect/expectr )Ú.0Úitemr r r Ú s ÿz.ExceptionPexpect.get_trace..Ú)Ú tracebackÚ extract_tbÚsysÚexc_infoÚ format_listÚjoin)rZtblistr r r Ú get_traces zExceptionPexpect.get_trace)Ú__name__Ú __module__Ú __qualname__Ú__doc__rr rÚ __classcell__r r rr rs rc@seZdZdZdS)ÚEOFzRRaised when EOF is read from a child. This usually means the child has exited.N©rrrrr r r r rsrc@seZdZdZdS)ÚTIMEOUTz-Raised when a read time exceeds the timeout. Nr r r r r r!"sr!)rrrÚ Exceptionrrr!r r r r Ús