gitws.exceptions module

Collection Of All Exceptions Which Might Occur.

exception gitws.exceptions.FileRefConflict(dest: Path, existing: Path, conflict: Path)[source]

Bases: RuntimeError

File Reference Conflict.

exception gitws.exceptions.FileRefModifiedError(dest: Path, src: Path)[source]

Bases: RuntimeError

File Reference Got Modified.

exception gitws.exceptions.GitCloneMissingError(project_path)[source]

Bases: RuntimeError

Git Clone Is Missing.

exception gitws.exceptions.GitCloneMissingOriginError(project_path, remote='origin')[source]

Bases: RuntimeError

Git Clone Has No Remote Origin.

exception gitws.exceptions.GitCloneNotCleanError(project_path)[source]

Bases: RuntimeError

Git Clone Contains Changes.

exception gitws.exceptions.GitTagExistsError(tag)[source]

Bases: RuntimeError

Git Tag Already Exists.

exception gitws.exceptions.IncompatibleFormatError[source]

Bases: RuntimeError

Incompatibility Error.

exception gitws.exceptions.InitializedError(path: Path, main_path: Optional[Path])[source]

Bases: RuntimeError

Git Workspace Has Already Been Initialized.

exception gitws.exceptions.InvalidConfigurationFileError(path: Path, details: str)[source]

Bases: RuntimeError

A Configuration File Is Invalid And Cannot Be Used.

exception gitws.exceptions.InvalidConfigurationLocationError(location: str)[source]

Bases: RuntimeError

An Invalid Location For Configuration Data Has Been Used.

exception gitws.exceptions.InvalidConfigurationOptionError(key)[source]

Bases: RuntimeError

An Invalid Configuration Option Has Been Passed To The Application.

exception gitws.exceptions.InvalidConfigurationValueError(key: str, value)[source]

Bases: RuntimeError

An Invalid Configuration Value Has Been Passed To The Application.

exception gitws.exceptions.ManifestError(path, details)[source]

Bases: RuntimeError

The Manifest Is Invalid.

exception gitws.exceptions.ManifestExistError(path)[source]

Bases: RuntimeError

Manifest Already Exists.

exception gitws.exceptions.ManifestNotFoundError(path)[source]

Bases: RuntimeError

Manifest File Has Not Been Found.

exception gitws.exceptions.NoAbsUrlError(project_name: str)[source]

Bases: RuntimeError

No Relative Url Possible.

exception gitws.exceptions.NoGitError[source]

Bases: RuntimeError

Git Clone Has Not Been Initialized.

exception gitws.exceptions.NoMainError[source]

Bases: RuntimeError

Workspace Has No Main Project.

exception gitws.exceptions.NotEmptyError(path)[source]

Bases: RuntimeError

Directory Is Not Empty.

exception gitws.exceptions.OutsideWorkspaceError(workspace_path, path, what)[source]

Bases: RuntimeError

Reference To Outside Of Workspace.

exception gitws.exceptions.UninitializedError[source]

Bases: RuntimeError

Git Workspace Has Not Been Initialized.

exception gitws.exceptions.WorkspaceNotEmptyError(path, items)[source]

Bases: RuntimeError

Workspace Is Not Empty.