o
    oo™i1  ã                   @   sp   d Z ddlmZmZ g d¢ZG dd„ deƒZG dd„ deƒZG dd	„ d	eƒZ	G d
d„ de
ƒZG dd„ deƒZdS )z Commonly used exception classes.é   )ÚExecutableNotFoundÚCalledProcessError)r   r   ÚRequiredArgumentErrorÚFileExistsErrorÚUnknownSuffixWarningÚFormatSuffixMismatchWarningÚDotSyntaxWarningc                   @   ó   e Zd ZdZdS )r   z::exc:`TypeError` raised if a required argument is missing.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   úG/home/ubuntu/.local/lib/python3.10/site-packages/graphviz/exceptions.pyr      ó    r   c                   @   r	   )r   z<:exc:`FileExistsError` raised with ``raise_if_exists=True``.Nr
   r   r   r   r   r      r   r   c                   @   r	   )r   zv:exc:`RuntimeWarning` raised if the suffix of ``outfile`` is unknown
        and the given ``format`` is used instead.Nr
   r   r   r   r   r      r   r   c                   @   r	   )r   z`:exc:`UserWarning` raised if the suffix ``outfile``
        does not match the given ``format``.Nr
   r   r   r   r   r      r   r   c                   @   r	   )r   zu:exc:`RuntimeWarning` raised if a quoted string
        is expected to cause a ``CalledProcessError`` from rendering.Nr
   r   r   r   r   r      r   r   N)r   Úbackend.executer   r   Ú__all__Ú	TypeErrorr   r   ÚRuntimeWarningr   ÚUserWarningr   r   r   r   r   r   Ú<module>   s    