HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/usr/lib/python3/dist-packages/pexpect/__pycache__/exceptions.cpython-38.pyc
U

ڢY,�@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
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|dkrd|dkr|�qS)zpexpect/__init__rzpexpect/expectr
)�.0�itemr
r
r�
<listcomp>s�z.ExceptionPexpect.get_trace.<locals>.<listcomp>�)�	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
rrrsrc@seZdZdZdS)�EOFzRRaised when EOF is read from a child.
    This usually means the child has exited.N�rrrrr
r
r
rrsrc@seZdZdZdS)�TIMEOUTz-Raised when a read time exceeds the timeout. Nr r
r
r
rr!"sr!)rrr�	Exceptionrrr!r
r
r
r�<module>s