Closed
Description
Currently, whenever something git-specific happens, git-python will throw a more or less generic Python exception, such as ValueError or TypeError, including a very git specific message though.
Client Code is less readable that way, as it will handle these general exceptions very specifically although this is not indicated by the exception type.
Review the all raise statements and introduce custom Exception types which are derived from the type you currently see. This way client code will be more readable without breaking existing code.