
    zih                    :   d Z ddlmZ ddlmZ  G d de          Z G d de          Z G d d	e          Z G d
 de          Z	 G d de          Z
 G d de
          Z G d de          Z G d de          Z G d de          Z G d de          ZdS )z!Exceptions coverage.py can raise.    )annotations)Anyc                  *     e Zd ZdZddd fd
Z xZS )CoverageExceptionz7The base class of all exceptions raised by Coverage.py.N)slugargsr   r   
str | NonereturnNonec               B     t                      j        |  || _        dS )zCreate an exception.

        Args:
            slug: A short string identifying the exception, will be used for
                linking to documentation.
        N)super__init__r   )selfr   r   	__class__s      ^/var/www/tmov.alphamb/tmov_inventario/venv/lib/python3.11/site-packages/coverage/exceptions.pyr   zCoverageException.__init__   s$     	$			    )r   r   r   r	   r
   r   )__name__
__module____qualname____doc__r   __classcell__)r   s   @r   r   r      sR        AA
             r   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      s        ::Dr   r   c                      e Zd ZdZdS )	DataErrorzAn error in using a data file.Nr   r   r   r   r   r   $   s        ((Dr   r   c                      e Zd ZdZdS )NoDataErrorz!We didn't have data to work with.Nr   r   r   r   r   r   *           ++Dr   r   c                      e Zd ZdZdS )NoSourcez)We couldn't find the source for a module.Nr   r   r   r   r"   r"   0   s        33Dr   r"   c                      e Zd ZdZdS )NoCodez!We couldn't find any code at all.Nr   r   r   r   r$   r$   6   r    r   r$   c                      e Zd ZdZdS )	NotPythonz3A source file turned out not to be parsable Python.Nr   r   r   r   r&   r&   <   s        ==Dr   r&   c                      e Zd ZdZdS )PluginErrorzA plugin misbehaved.Nr   r   r   r   r(   r(   B   s        Dr   r(   c                      e Zd ZdZdS )_ExceptionDuringRunzAn 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          	Dr   r*   c                      e Zd ZdZdS )CoverageWarningzA warning from Coverage.py.Nr   r   r   r   r,   r,   R   s        %%Dr   r,   N)r   
__future__r   typingr   	Exceptionr   r   r   r   r"   r$   r&   r(   r*   Warningr,   r   r   r   <module>r1      s   ( ' " " " " " "          	   &	 	 	 	 	# 	 	 		 	 	 	 	! 	 	 		 	 	 	 	# 	 	 		 	 	 	 	  	 	 		 	 	 	 	X 	 	 		 	 	 	 	! 	 	 		 	 	 	 	# 	 	 		 	 	 	 	+ 	 	 		 	 	 	 	g 	 	 	 	 	r   