
    j                    N    d Z ddlmZ  G d de          Z G d de          ZdS )zException classes for pydot.    )annotationsc                      e Zd ZdZdS )PydotExceptionzBase class for exceptions in Pydot.

    This base class will not be raised directly.

    Catch this base class to catch all derived exceptions, though be
    aware that pydot may raise Python built-in exceptions or pyparsing
    exceptions as well.
    N)__name__
__module____qualname____doc__     W/home/ubuntu/.hermes/hermes-agent/venv/lib/python3.11/site-packages/pydot/exceptions.pyr   r   
   s           r   r   c                  "    e Zd ZdZd	dZd
dZdS )ErrorzGeneral error handling class.valuestrreturnNonec                    || _         d S Nr   )selfr   s     r   __init__zError.__init__   s    


r   c                    | j         S r   r   )r   s    r   __str__zError.__str__   s
    zr   N)r   r   r   r   )r   r   )r   r   r   r	   r   r   r
   r   r   r   r      sB        ''        r   r   N)r	   
__future__r   	Exceptionr   r   r
   r   r   <module>r      s}   
 # " " " " " " "    Y       N     r   