
    R}bg                         d dl mZ d dlmZmZ dZ e            Z ed           G d de                      Z	 G d d	e          Z
 G d
 de          ZddZdS )    )	dataclass)SequenceAnyz(https://nesdis.github.io/djongo/support/Freprc                   b    e Zd ZU dZeed<   dZeed<   dZeed<   dZe	ed<   dZ
eed<   d Zd ZdS )	SQLDecodeErrorNerr_keyerr_sub_sqlerr_sqlparamsversionc           
      V    d| j          d| j         d| j         d| j         d| j         
S )Nz

	Keyword: z
	Sub SQL: z
	FAILED SQL: z

	Params: z
	Version: )r
   r   r   r   r   selfs    d/home/e360mart.nyusoft.in/public_html/e360mart_env/lib/python3.11/site-packages/djongo/exceptions.py__repr__zSQLDecodeError.__repr__   s[    -$, - -".- -!%- - "[- - #l	- - 	.    c                      t          |           S Nr   r   s    r   __str__zSQLDecodeError.__str__   s    Dzzr   )__name__
__module____qualname__r
   r   __annotations__r   r   r   r   r   strr   r    r   r   r	   r	      s         GSKGSFHGS. . .    r   r	   c                       e Zd ZddZdS )NotSupportedErrorNc                     || _         d S r   )keyword)r   r!   s     r   __init__zNotSupportedError.__init__   s    r   r   r   r   r   r"   r   r   r   r   r      s(             r   r   c                       e Zd Zd ZdS )MigrationErrorc                     || _         d S r   )field)r   r'   s     r   r"   zMigrationError.__init__#   s    


r   Nr#   r   r   r   r%   r%   !   s#            r   r%   Nc                     | t           vr>|pd|  ddt           z   }t          |           t                               |            d S d S )Nz)This version of djongo does not support "z	" fully. zVisit )_printed_featuresdjongo_access_urlprintadd)featuremessages     r   
print_warnr/   '   sb    ''']]7]]]1/112gg&&&&&	 ('r   )NN)dataclassesr   typingr   r   r*   setr)   
ValueErrorr	   r   	Exceptionr%   r/   r   r   r   <module>r5      s    ! ! ! ! ! !                > CEE      Z   $    
       Y   ' ' ' ' ' 'r   