o ÿé!^,ã@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__©ú4/usr/lib/python3/dist-packages/pexpect/exceptions.pyr s zExceptionPexpect.__init__cCs t|jƒSr)Ústrr)rr r r Ú__str__s zExceptionPexpect.__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)rÚtblistr r r Ú get_traces  zExceptionPexpect.get_trace)Ú__name__Ú __module__Ú __qualname__Ú__doc__rr rÚ __classcell__r r rr rs  rc@óeZdZdZdS)ÚEOFzRRaised when EOF is read from a child. This usually means the child has exited.N©rrrrr r r r r!ór!c@r )ÚTIMEOUTz-Raised when a read time exceeds the timeout. Nr"r r r r r$"r#r$)rrrÚ Exceptionrr!r$r r r r Ús