e,ZdZddlZddlZGddeZGddeZGddeZy) z!Exception classes used by PexpectNc.eZdZdZfdZdZdZxZS)ExceptionPexpectz9Base class for all exceptions raised by this module. c:tt| |||_yN)superr__init__value)selfr __class__s 4/usr/lib/python3/dist-packages/pexpect/exceptions.pyrzExceptionPexpect.__init__ s .u5 c,t|jSr)strr )r s r __str__zExceptionPexpect.__str__s4::r ctjtjd}|Dcgc]}d|dvs d|dvr|}}tj|}dj |Scc}w)zThis 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. zpexpect/__init__rzpexpect/expect) traceback extract_tbsysexc_info format_listjoin)r tblistitems r get_tracezExceptionPexpect.get_tracesz %%cllnQ&78#)R4.@Q.O0@Q0ORR&&v.wwvRs A/ A/)__name__ __module__ __qualname____doc__rrr __classcell__)r s@r rrs r rceZdZdZy)EOFzRRaised when EOF is read from a child. This usually means the child has exited.Nrrrr r r r#r#s0r r#ceZdZdZy)TIMEOUTz-Raised when a read time exceeds the timeout. Nr$r%r r r'r'"s7r r')r rr Exceptionrr#r'r%r r r)s4' y.0 0 88r