
    g                     \     G d  de       Z G d de      Z G d de      Z G d de      Zy)	c                       e Zd ZdZy)ImportExportErrorz-A generic exception for all others to extend.N__name__
__module____qualname____doc__     X/var/www/html/gmsbutik/gmsbutik/lib/python3.12/site-packages/import_export/exceptions.pyr   r      s    7r
   r   c                       e Zd ZdZy)
FieldErrorz(Raised when a field encounters an error.Nr   r	   r
   r   r   r      s    2r
   r   c                       e Zd ZdZy)WidgetErrorz6Raised when there is a misconfiguration with a Widget.Nr   r	   r
   r   r   r      s    @r
   r   c                       e Zd ZddZd Zy)ImportErrorNc                 .    || _         || _        || _        y)a  A wrapper for errors thrown from the import process.

        :param error: The underlying error that occurred.
        :param number: The row number of the row containing the error (if obtainable).
        :param row: The row containing the error (if obtainable).
        N)errornumberrow)selfr   r   r   s       r   __init__zImportError.__init__   s     
r
   c                     d}| j                   || j                    dz  }|| j                   z  }| j                  |d| j                   dz  }|S )N z: z ())r   r   r   )r   ss     r   __str__zImportError.__str__   s\    ;;"DKK=##A	

|882dhhZq!!Ar
   )NN)r   r   r   r   r   r	   r
   r   r   r      s    	r
   r   N)	Exceptionr   r   r   r   r	   r
   r   <module>r      s8   		 		" 		# 	# r
   