Exceptions - vcspull.exc

Exceptions for vcspull.

exception vcspull.exc.VCSPullException[source]

Bases: Exception

Standard exception raised by vcspull.

exception vcspull.exc.MultipleConfigWarning[source]

Bases: VCSPullException

Multiple eligible config files found at the same time.

message = 'Multiple configs found in home directory use only one. .yaml, .json.'
exception vcspull.exc.WorktreeError[source]

Bases: VCSPullException

Base exception for worktree operations.

exception vcspull.exc.WorktreeConfigError[source]

Bases: WorktreeError

Invalid worktree configuration.

__init__(message, *args, **kwargs)[source]
Parameters:
Return type:

None

exception vcspull.exc.WorktreeRefNotFoundError[source]

Bases: WorktreeError

Reference (tag, branch, or commit) not found in repository.

__init__(ref, ref_type, repo_path)[source]
Parameters:
Return type:

None

exception vcspull.exc.WorktreeDirtyError[source]

Bases: WorktreeError

Worktree has uncommitted changes and cannot be modified.

__init__(path)[source]
Parameters:

path (str)

Return type:

None