Pegleg Exceptions¶
Base Exceptions¶
Git Exceptions¶
-
exception
pegleg.engine.exceptions.
GitConfigException
(message=None, **kwargs)[source]¶ Bases:
pegleg.engine.exceptions.PeglegBaseException
Exception that occurs when reading Git repo config fails.
-
message
= 'Failed to read Git config file for repo path: %(repo_url)s'¶
-
-
exception
pegleg.engine.exceptions.
GitException
(message=None, **kwargs)[source]¶ Bases:
pegleg.engine.exceptions.PeglegBaseException
Exception when an error occurs cloning a Git repository.
-
message
= 'Git exception occurred: [%(location)s] may not be a valid git repository. Details: %(details)s'¶
-
-
exception
pegleg.engine.exceptions.
GitAuthException
(message=None, **kwargs)[source]¶ Bases:
pegleg.engine.exceptions.PeglegBaseException
Exception that occurs when authentication fails for cloning a repo.
-
message
= 'Failed to authenticate for repo %(repo_url)s with ssh-key at path %(ssh_key_path)s'¶
-
-
exception
pegleg.engine.exceptions.
GitProxyException
(message=None, **kwargs)[source]¶ Bases:
pegleg.engine.exceptions.PeglegBaseException
Exception when cloning through proxy.
-
message
= 'Could not resolve proxy [%(location)s]'¶
-
-
exception
pegleg.engine.exceptions.
GitSSHException
(message=None, **kwargs)[source]¶ Bases:
pegleg.engine.exceptions.PeglegBaseException
Exception that occurs when an SSH key could not be found.
-
message
= 'Failed to find specified SSH key: %(ssh_key_path)s'¶
-
-
exception
pegleg.engine.exceptions.
GitInvalidRepoException
(message=None, **kwargs)[source]¶ Bases:
pegleg.engine.exceptions.PeglegBaseException
Exception raised when an invalid repository is detected.
-
message
= 'The repository path or URL is invalid: %(repo_url)s'¶
-
Authentication Exceptions¶
PKI Exceptions¶
Genesis Bundle Exceptions¶
-
exception
pegleg.engine.exceptions.
GenesisBundleEncryptionException
(message=None, **kwargs)[source]¶ Bases:
pegleg.engine.exceptions.PeglegBaseException
Exception raised when encryption of the genesis bundle fails.
-
message
= 'Encryption is required for genesis bundle, but no encryption policy or key is specified.'¶
-
-
exception
pegleg.engine.exceptions.
GenesisBundleGenerateException
(message=None, **kwargs)[source]¶ Bases:
pegleg.engine.exceptions.PeglegBaseException
Exception raised when pormenade engine fails to build the genesis bundle.
Passphrase Exceptions¶
-
exception
pegleg.engine.exceptions.
PassphraseCatalogNotFoundException
(message=None, **kwargs)[source]¶ Bases:
pegleg.engine.exceptions.PeglegBaseException
Failed to find Catalog for Passphrases generation.
-
message
= 'Could not find the Passphrase Catalog to generate the site Passphrases!'¶
-