Skip to content

Class peagen.errors.GitPushError

peagen.errors.GitPushError

GitPushError(ref, remote)

Bases: GitOperationError

Raised when pushing changes to a remote fails.

Source code in peagen/errors.py
115
116
117
118
def __init__(self, ref: str, remote: str) -> None:
    super().__init__(
        f"Failed to push '{ref}' to remote '{remote}'. Check remote configuration and permissions."
    )