Skip to content

exceptions

Exceptions raised when bad things happen.

ChangesetUnicodeError()

Bases: UsageError

Raised when cookie-composer update is unable to generate the diff.

EmptyZipRepositoryError(url: str)

Bases: InvalidZipRepositoryError

Raised when a zip repository is empty.

Bases: UsageError

There was a problem doing git operations.

InvalidZipPasswordError()

Bases: InvalidZipRepositoryError

Raised when a zip repository is password-protected.

InvalidZipRepositoryError(message: str = '')

Bases: UsageError

Raised when a zip repository is invalid.

MergeError(
    origin: Optional[str] = None,
    destination: Optional[str] = None,
    strategy: Optional[str] = None,
    error_message: Optional[str] = "",
)

Bases: UsageError

There was a problem merging a file.

MissingCompositionFileError(path_or_url: str)

Bases: UsageError

The composition is missing or inaccessible.

NoZipDirectoryError(url: str)

Bases: InvalidZipRepositoryError

Raised when a zip repository does not contain a directory.