Ë
    Ü_Ëië  ã                  ó’   — d Z ddlmZ ddlmZ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.é    )Úannotations)ÚAnyÚOptionalc                  ó   — e Zd ZdZy)Ú	BSONErrorz#Base class for all BSON exceptions.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    úN/var/www/pod-logistic/pod-api/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                  ó8   ‡ — e Zd ZdZddˆ fd„Zedd„«       Zˆ xZS )ÚInvalidDocumentzDRaised when trying to create a BSON object from an invalid document.c                ó2   •— t         ‰| �  |«       || _        y ©N)ÚsuperÚ__init__Ú	_document)ÚselfÚmessageÚdocumentÚ	__class__s      €r   r   zInvalidDocument.__init__$   s   ø€ Ü‰Ñ˜Ô!Ø!ˆ�r   c                ó   — | j                   S )zJThe invalid document that caused the error.

        ..versionadded:: 4.16)r   )r   s    r   r   zInvalidDocument.document(   s   € ð
 �~‰~Ðr   r   )r   Ústrr   zOptional[Any]ÚreturnÚNone)r!   r   )r	   r
   r   r   r   Úpropertyr   Ú__classcell__)r   s   @r   r   r   !   s   ø„ ÙNö"ð òó ôr   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&   0   s   „ ÚEr   r&   N)r   Ú
__future__r   Útypingr   r   Ú	Exceptionr   r   r   r   r&   r   r   r   ú<module>r*      sR   ðñ -Ý "ç  ô.�	ô .ôH�)ô HôJ˜	ô Jô�iô ôF�	õ Fr   