Ë
    ómxiØ  ã                   óÌ   — d Z ddlmZ g d¢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y)zModule with common exceptionsé    )Ú
to_hex_sha)	ÚAmbiguousObjectNameÚBadNameÚ	BadObjectÚBadObjectTypeÚInvalidDBRootÚODBErrorÚ
ParseErrorÚUnsupportedOperationr   c                   ó   — e Zd ZdZy)r	   z(All errors thrown by the object databaseN©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    ú@/home/htdocs/ttos/venv/lib/python3.12/site-packages/gitdb/exc.pyr	   r	      s   „ Ú2r   r	   c                   ó   — e Zd ZdZy)r   zDThrown if an object database cannot be initialized at the given pathNr   r   r   r   r   r      s   „ ÚNr   r   c                   ó   — e Zd ZdZd„ Zy)r   zQThe object with the given SHA does not exist. Instantiate with the
    failed shac                 ó8   — dt        | j                  d   «      z  S )NzBadObject: %sr   )r   Úargs©Úselfs    r   Ú__str__zBadObject.__str__    s   € Ø¤¨D¯I©I°a©LÓ!9Ñ9Ð9r   N©r   r   r   r   r   r   r   r   r   r      s   „ ñó:r   r   c                   ó   — e Zd ZdZd„ Zy)r   z.A name provided to rev_parse wasn't understoodc                 ó&   — d| j                   d   z  S )Nz%Ref '%s' did not resolve to an objectr   )r   r   s    r   r   zBadName.__str__'   s   € Ø6¸¿¹À1¹ÑEÐEr   Nr   r   r   r   r   r   $   s   „ Ù8óFr   r   c                   ó   — e Zd ZdZy)r
   z?Thrown if the parsing of a file failed due to an invalid formatNr   r   r   r   r
   r
   +   s   „ ÚIr   r
   c                   ó   — e Zd ZdZy)r   zcThrown if a possibly shortened name does not uniquely represent a single object
    in the databaseNr   r   r   r   r   r   /   s   „ òr   r   c                   ó   — e Zd ZdZy)r   z"The object had an unsupported typeNr   r   r   r   r   r   4   s   „ Ú,r   r   c                   ó   — e Zd ZdZy)r   zHThrown if the given operation cannot be supported by the object databaseNr   r   r   r   r   r   8   s   „ ÚRr   r   N)r   Ú
gitdb.utilr   Ú__all__Ú	Exceptionr	   r   r   r   r
   r   r   r   r   r   r   ú<module>r&      s|   ðñ
 $Ý !ò
€ô3ˆyô 3ôO�Hô Oô:�ô :ôFˆhô FôJ�ô Jô˜(ô ô
-�Hô -ôS˜8õ Sr   