pulpcore.plugin.exceptions¶
All exceptions documented here should be imported directly from the pulpcore.plugin.exceptions
namespace.
- exception pulpcore.plugin.exceptions.DigestValidationError(*args)¶
Raised when a file fails to validate a digest checksum.
- Parameters
error_code (str) – unique error code
- 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(*args)¶
Raised when a file fails to validate a size checksum.
- Parameters
error_code (str) – unique error code
- exception pulpcore.plugin.exceptions.UnsupportedDigestValidationError¶
Raised when an attempt is made to use a checksum-type that is not enabled/available.