HEX
Server: nginx/1.18.0
System: Linux oas2 6.8.0-1039-oracle #40~22.04.1-Ubuntu SMP Wed Oct 29 05:11:00 UTC 2025 aarch64
User: root (0)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/pexpect/__pycache__/exceptions.cpython-310.pyc
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�
<listcomp>s

�z.ExceptionPexpect.get_trace.<locals>.<listcomp>�)�	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
rrrs
rc@�eZdZdZdS)�EOFzRRaised when EOF is read from a child.
    This usually means the child has exited.N�rrrrr
r
r
rr!�r!c@r )�TIMEOUTz-Raised when a read time exceeds the timeout. Nr"r
r
r
rr$"r#r$)rrr�	Exceptionrr!r$r
r
r
r�<module>s