
    FCf                        d 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y)z&Exceptions raised by the BSON package.    )annotationsc                      e Zd ZdZy)	BSONErrorz#Base class for all BSON exceptions.N__name__
__module____qualname____doc__     K/var/www/highfloat_scraper/venv/lib/python3.12/site-packages/bson/errors.pyr   r      s    -r   r   c                      e Zd ZdZy)InvalidBSONz=Raised when trying to create a BSON object from invalid data.Nr   r   r   r   r   r      s    Gr   r   c                      e Zd ZdZy)InvalidStringDataz?Raised when trying to encode a string containing non-UTF8 data.Nr   r   r   r   r   r      s    Ir   r   c                      e Zd ZdZy)InvalidDocumentzDRaised when trying to create a BSON object from an invalid document.Nr   r   r   r   r   r      s    Nr   r   c                      e Zd ZdZy)	InvalidIdz;Raised when trying to create an ObjectId from invalid data.Nr   r   r   r   r   r   #   s    Er   r   N)	r
   
__future__r   	Exceptionr   r   r   r   r   r   r   r   <module>r      sQ    - ".	 .H) HJ	 JOi OF	 Fr   