Add git describe specific exceptions, extracting details for the failure from GitPython
Description
If there is a failure during a git describe operation a return code of 128 is always used and all the details are included in failure text. Instead of using a general exception, add a more specific describe exception and extract the failure text for GitPython and add it to the exception.
It may be a good idea to have several types of exceptions based on the common failure modes for more granular error handling but that can be another enhancement in the future.
Add git describe specific exceptions, extracting details for the failure from GitPython
Description
If there is a failure during a git describe operation a return code of 128 is always used and all the details are included in failure text. Instead of using a general exception, add a more specific describe exception and extract the failure text for GitPython and add it to the exception.
It may be a good idea to have several types of exceptions based on the common failure modes for more granular error handling but that can be another enhancement in the future.