o
    vÆ&ih  ã                   @  sÀ   d Z ddlmZ ddlm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
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!Exceptions coverage.py can raise.é    )Úannotations)ÚAnyc                      s(   e Zd ZdZddœd‡ fd
d„Z‡  ZS )ÚCoverageExceptionz7The base class of all exceptions raised by Coverage.py.N)ÚslugÚargsr   r   ú
str | NoneÚreturnÚNonec                  s   t ƒ j|Ž  || _dS )z£Create an exception.

        Args:
            slug: A short string identifying the exception, will be used for
                linking to documentation.
        N)ÚsuperÚ__init__r   )Úselfr   r   ©Ú	__class__© úY/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/coverage/exceptions.pyr      s   
zCoverageException.__init__)r   r   r   r   r   r	   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__classcell__r   r   r   r   r      s    ýr   c                   @  ó   e Zd ZdZdS )ÚConfigErrorz0A problem with a config file, or a value in one.N©r   r   r   r   r   r   r   r   r      ó    r   c                   @  r   )Ú	DataErrorzAn error in using a data file.Nr   r   r   r   r   r   $   r   r   c                   @  r   )ÚNoDataErrorz!We didn't have data to work with.Nr   r   r   r   r   r   *   r   r   c                   @  r   )ÚNoSourcez)We couldn't find the source for a module.Nr   r   r   r   r   r   0   r   r   c                   @  r   )ÚNoCodez!We couldn't find any code at all.Nr   r   r   r   r   r   6   r   r   c                   @  r   )Ú	NotPythonz3A source file turned out not to be parsable Python.Nr   r   r   r   r   r   <   r   r   c                   @  r   )ÚPluginErrorzA plugin misbehaved.Nr   r   r   r   r   r   B   r   r   c                   @  r   )Ú_ExceptionDuringRunz€An exception happened while running customer code.

    Construct it with three arguments, the values from `sys.exc_info`.

    Nr   r   r   r   r   r    H   s    r    c                   @  r   )ÚCoverageWarningzA warning from Coverage.py.Nr   r   r   r   r   r!   R   r   r!   N)r   Ú
__future__r   Útypingr   Ú	Exceptionr   r   r   r   r   r   r   r   r    ÚWarningr!   r   r   r   r   Ú<module>   s   
