pulpcore.plugin.exceptions¶
All exceptions documented here should be imported directly from the pulpcore.plugin.exceptions namespace.
pulpcore.plugin.exceptions
¶
ValidationError(msg)
¶
DigestValidationError(actual, expected, *args, url=None, **kwargs)
¶
InvalidSignatureError(message=None, verified=None)
¶
PulpException()
¶
Bases: Exception
Base exception class for Pulp.
SizeValidationError(actual, expected, *args, url=None, **kwargs)
¶
MissingDigestValidationError(message=None)
¶
Bases: ValidationError
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(digest_name=None)
¶
Bases: ValidationError
Raised when an attempt is made to use a checksum-type that is not enabled/available.
PublishError(message=None)
¶
Bases: PulpException
Raised when a publish operation fails.
:param message: Description of the publish error :type message: str
SyncError(message)
¶
Bases: PulpException
Raised when a sync operation fails.
:param message: Description of the sync error :type message: str
ExternalServiceError(service_name, details=None)
¶
Bases: PulpException
Raised when an external API or service fails.
:param service_name: Name of the external service :type service_name: str :param details: Additional details about the failure :type details: str or None
SystemStateError(message)
¶
Bases: PulpException
Raised when system is in an unexpected state.
:param message: Description of the system state error :type message: str