Exceptions¶
exceptions
¶
Classes:
| Name | Description |
|---|---|
ConfigurationError |
Raised when required configuration values are missing. |
DeprecatedRegistryWarning |
Warning for deprecated Docker registries. |
MarkersNotFound |
Raised when the addons table markers are missing or malformed in a README. |
MissingMandatoryFiles |
Raised when mandatory files are missing. |
MissingRecommendedFiles |
Raised when recommended files are missing. |
NoGitRepository |
Raised when the current directory is not part of a git repository. |
NoManifestFound |
Raised when no manifest file is found in an addon. |
ScriptNotFound |
Raised when a required script is not found. |
UnusualRegistryWarning |
Warning for unusual Docker registries. |
ConfigurationError
¶
flowchart TD
oops.core.exceptions.ConfigurationError[ConfigurationError]
click oops.core.exceptions.ConfigurationError href "" "oops.core.exceptions.ConfigurationError"
Raised when required configuration values are missing.
DeprecatedRegistryWarning
¶
flowchart TD
oops.core.exceptions.DeprecatedRegistryWarning[DeprecatedRegistryWarning]
click oops.core.exceptions.DeprecatedRegistryWarning href "" "oops.core.exceptions.DeprecatedRegistryWarning"
Warning for deprecated Docker registries.
MarkersNotFound
¶
flowchart TD
oops.core.exceptions.MarkersNotFound[MarkersNotFound]
click oops.core.exceptions.MarkersNotFound href "" "oops.core.exceptions.MarkersNotFound"
Raised when the addons table markers are missing or malformed in a README.
MissingMandatoryFiles
¶
flowchart TD
oops.core.exceptions.MissingMandatoryFiles[MissingMandatoryFiles]
click oops.core.exceptions.MissingMandatoryFiles href "" "oops.core.exceptions.MissingMandatoryFiles"
Raised when mandatory files are missing.
Source code in oops/core/exceptions.py
MissingRecommendedFiles
¶
flowchart TD
oops.core.exceptions.MissingRecommendedFiles[MissingRecommendedFiles]
oops.core.exceptions.MissingMandatoryFiles[MissingMandatoryFiles]
oops.core.exceptions.MissingMandatoryFiles --> oops.core.exceptions.MissingRecommendedFiles
click oops.core.exceptions.MissingRecommendedFiles href "" "oops.core.exceptions.MissingRecommendedFiles"
click oops.core.exceptions.MissingMandatoryFiles href "" "oops.core.exceptions.MissingMandatoryFiles"
Raised when recommended files are missing.
Source code in oops/core/exceptions.py
NoGitRepository
¶
flowchart TD
oops.core.exceptions.NoGitRepository[NoGitRepository]
click oops.core.exceptions.NoGitRepository href "" "oops.core.exceptions.NoGitRepository"
Raised when the current directory is not part of a git repository.
NoManifestFound
¶
flowchart TD
oops.core.exceptions.NoManifestFound[NoManifestFound]
click oops.core.exceptions.NoManifestFound href "" "oops.core.exceptions.NoManifestFound"
Raised when no manifest file is found in an addon.
-
Reference
IO
Manifest
manifestread_manifest
ScriptNotFound
¶
flowchart TD
oops.core.exceptions.ScriptNotFound[ScriptNotFound]
click oops.core.exceptions.ScriptNotFound href "" "oops.core.exceptions.ScriptNotFound"
Raised when a required script is not found.
UnusualRegistryWarning
¶
flowchart TD
oops.core.exceptions.UnusualRegistryWarning[UnusualRegistryWarning]
click oops.core.exceptions.UnusualRegistryWarning href "" "oops.core.exceptions.UnusualRegistryWarning"
Warning for unusual Docker registries.