
    ch                         S r SSKJr  / SQr " S S\5      r " S S\5      r " S S	\5      r " S
 S\5      r " S S\5      r	 " S S\5      r
 " S S\5      r " S S\5      rg)zModule with common exceptions    )
to_hex_sha)	AmbiguousObjectNameBadName	BadObjectBadObjectTypeInvalidDBRootODBError
ParseErrorUnsupportedOperationr   c                       \ rS rSrSrSrg)r	      z(All errors thrown by the object database N__name__
__module____qualname____firstlineno____doc____static_attributes__r       \C:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\gitdb/exc.pyr	   r	      s    2r   r	   c                       \ rS rSrSrSrg)r      zDThrown if an object database cannot be initialized at the given pathr   Nr   r   r   r   r   r      s    Nr   r   c                       \ rS rSrSrS rSrg)r      zMThe object with the given SHA does not exist. Instantiate with the
failed shac                 8    S[        U R                  S   5      -  $ )NzBadObject: %sr   )r   argsselfs    r   __str__BadObject.__str__    s    DIIaL!999r   r   Nr   r   r   r   r   r    r   r   r   r   r   r      s    :r   r   c                       \ rS rSrSrS rSrg)r   $   z.A name provided to rev_parse wasn't understoodc                 &    SU R                   S   -  $ )Nz%Ref '%s' did not resolve to an objectr   )r   r   s    r   r    BadName.__str__'   s    61EEr   r   Nr"   r   r   r   r   r   $   s    8Fr   r   c                       \ rS rSrSrSrg)r
   +   z?Thrown if the parsing of a file failed due to an invalid formatr   Nr   r   r   r   r
   r
   +   s    Ir   r
   c                       \ rS rSrSrSrg)r   /   z_Thrown if a possibly shortened name does not uniquely represent a single object
in the databaser   Nr   r   r   r   r   r   /   s    r   r   c                       \ rS rSrSrSrg)r   4   z"The object had an unsupported typer   Nr   r   r   r   r   r   4   s    ,r   r   c                       \ rS rSrSrSrg)r   8   zHThrown if the given operation cannot be supported by the object databaser   Nr   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>r2      s|   
 $ !
3y 3OH O: :Fh FJ J( 
-H -S8 Sr   