Skip to content

Describe specific exceptions. #26

@fuzzball81

Description

@fuzzball81

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions