pulpcore.plugin.exceptions¶
All exceptions documented here should be imported directly from the pulpcore.plugin.exceptions namespace.
pulpcore.plugin.exceptions
¶
ContentOverwriteError(pulp_type, conflict_map)
¶
Bases: ValidationError
Raised when content would overwrite existing repository content and overwrite is disabled.
DigestValidationError(actual, expected, *args, url=None, **kwargs)
¶
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
HttpResponseError(url, status, message)
¶
Bases: PulpException
Raised when a remote server returns an HTTP error response after retries are exhausted.
InvalidSignatureError(message=None, verified=None)
¶
MissingDigestValidationError(message=None)
¶
Bases: ValidationError
Raised when attempting to save() an Artifact with an incomplete set of checksums.
PublishError(message=None)
¶
Bases: PulpException
Raised when a publish operation fails.
:param message: Description of the publish error :type message: str
PulpException(error_code=None)
¶
Bases: Exception
Base exception class for Pulp.
RemoteConnectionError(url, details)
¶
ReplicateError(error_code=None)
¶
SizeValidationError(actual, expected, *args, url=None, **kwargs)
¶
SslConnectionError(url, details)
¶
SyncError(message)
¶
Bases: PulpException
Raised when a sync operation fails.
:param message: Description of the sync error :type message: str
SystemStateError(message)
¶
Bases: PulpException
Raised when system is in an unexpected state.
:param message: Description of the system state error :type message: str
TimeoutException(url)
¶
Bases: PulpException
Exception to signal timeout error.
:param url: the url the download for timed out :type url: str
UnsupportedDigestValidationError(message=None)
¶
Bases: ValidationError
Raised when an attempt is made to use a checksum-type that is not enabled/available.