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