pulpcore.plugin.exceptions¶
All exceptions documented here should be imported directly from the pulpcore.plugin.exceptions
namespace.
- exception pulpcore.plugin.exceptions.DigestValidationError(actual, expected, *args, url=None, **kwargs)¶
Raised when a file fails to validate a digest checksum.
- Parameters:
error_code (str) – unique error code
- exception pulpcore.plugin.exceptions.InvalidSignatureError(*args, **kwargs)¶
Raised when a signature could not be verified by the GnuPG utility.
- exception pulpcore.plugin.exceptions.MissingDigestValidationError¶
Raised when attempting to save() an Artifact with an incomplete set of checksums.
- exception pulpcore.plugin.exceptions.PulpException(error_code)¶
Base exception class for Pulp.
- Parameters:
error_code (str) – unique error code
- exception pulpcore.plugin.exceptions.SizeValidationError(actual, expected, *args, url=None, **kwargs)¶
Raised when a file fails to validate a size checksum.
- Parameters:
error_code (str) – unique error code
- exception pulpcore.plugin.exceptions.TimeoutException(url)¶
Exception to signal timeout error.
- Parameters:
url (str) – the url the download for timed out
- exception pulpcore.plugin.exceptions.UnsupportedDigestValidationError¶
Raised when an attempt is made to use a checksum-type that is not enabled/available.