Skip to content

Class peagen.errors.GitFetchError

peagen.errors.GitFetchError

GitFetchError(ref, remote)

Bases: GitOperationError

Raised when fetching a ref from a remote fails.

Source code in peagen/errors.py
106
107
108
109
def __init__(self, ref: str, remote: str) -> None:
    super().__init__(
        f"Failed to fetch '{ref}' from remote '{remote}'. Verify that the reference exists."
    )