Coverage for /usr/local/lib/python3.10/site-packages/opal_common-0.0.0-py3.10.egg/opal_common/git_utils/exceptions.py: 50%

4 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-10-10 11:54 +0000

1class GitFailed(Exception): 

2 """An exception we throw on git failures that are caused by wrong 

3 assumptions. 

4 

5 i.e: we want to track a non-existing branch, or git url is not 

6 valid. 

7 """ 

8 

9 def __init__(self, exc: Exception): 

10 self._original_exc = exc 

11 super().__init__()