bgdZddlmZGddeZGddeZGddeZGd d eZGd d eZGd deZ GddeZ GddeZ dS)zModule with common exceptions) to_hex_shaceZdZdZdS)ODBErrorz(All errors thrown by the object databaseN__name__ __module__ __qualname____doc__Z/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/gitdb/exc.pyrr s2222r rceZdZdZdS) InvalidDBRootzDThrown if an object database cannot be initialized at the given pathNrr r r rr sNNNNr rceZdZdZdZdS) BadObjectzQThe object with the given SHA does not exist. Instantiate with the failed shac<dt|jdzS)Nz BadObject: %sr)rargsselfs r __str__zBadObject.__str__sDIaL!9!999r Nrrr r rr r r rrs-:::::r rceZdZdZdZdS)BadNamez.A name provided to rev_parse wasn't understoodc"d|jdzS)Nz%Ref '%s' did not resolve to an objectr)rrs r rzBadName.__str__s61EEr Nrr r r rrs.88FFFFFr rceZdZdZdS) ParseErrorz?Thrown if the parsing of a file failed due to an invalid formatNrr r r rr sIIIIr rceZdZdZdS)AmbiguousObjectNamezcThrown if a possibly shortened name does not uniquely represent a single object in the databaseNrr r r rr$sr rceZdZdZdS) BadObjectTypez"The object had an unsupported typeNrr r r r r )s,,,,r r ceZdZdZdS)UnsupportedOperationzHThrown if the given operation cannot be supported by the object databaseNrr r r r"r"-sRRRRr r"N) r gitdb.utilr Exceptionrrrrrrr r"r r r r%s $#!!!!!!33333y333OOOOOHOOO::::::::FFFFFhFFFJJJJJJJJ( -----H---SSSSS8SSSSSr