VL idZddlmZgdZGddeZGddeZGdd eZGd d eZGd d eZ GddeZ GddeZ GddeZ y)zModule with common exceptions) to_hex_sha) AmbiguousObjectNameBadName BadObject BadObjectType InvalidDBRootODBError ParseErrorUnsupportedOperationrceZdZdZy)r z(All errors thrown by the object databaseN__name__ __module__ __qualname____doc__O/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/gitdb/exc.pyr r s2rr ceZdZdZy)rzDThrown if an object database cannot be initialized at the given pathNr rrrrrsNrrceZdZdZdZy)rzQThe object with the given SHA does not exist. Instantiate with the failed shac8dt|jdzS)Nz BadObject: %sr)rargsselfs r__str__zBadObject.__str__ sDIIaL!999rNrrrrrrrrrrs :rrceZdZdZdZy)rz.A name provided to rev_parse wasn't understoodc&d|jdzS)Nz%Ref '%s' did not resolve to an objectr)rrs rrzBadName.__str__'s61EErNrrrrrr$s 8FrrceZdZdZy)r z?Thrown if the parsing of a file failed due to an invalid formatNr rrrr r +sIrr ceZdZdZy)rzcThrown if a possibly shortened name does not uniquely represent a single object in the databaseNr rrrrr/srrceZdZdZy)rz"The object had an unsupported typeNr rrrrr4s,rrceZdZdZy)r zHThrown if the given operation cannot be supported by the object databaseNr rrrr r 8sRrr N) r gitdb.utilr__all__ Exceptionr rrrr rrr rrrr&s| $! 3y3OHO::FhFJJ( -H-S8Sr