Open
Description
To have one exception for every GIT_EXXX
all of them inheriting from GitError
, use a consistent naming, e.g. GIT_EINVALIDSPEC
would become GitInvalidSpecError
or maybe just InvalidSpecError
.
To provide backwards compatibility use multiple inheritance, e.g. InvalidSpecError
would inherit from GitError
and ValueError
. Eventually the base class for backwards compatibility would be remove in some future version.
To settle on naming post here the full mapping of GIT_EXXX
to exception, even if this can be implemented in steps.