DependencyError,
)
-class commandTimeoutExpired(Exception):
- pass # XXX cannot be as is
-
class Error(Exception):
exit_code = 1
message = _("An unhandled error occured.")
-class ActionError(Error):
- pass
-
-class BuildAbortedException(Error):
- pass
-
class BuildError(Error):
pass
-class CompressionError(Error):
- message = _("Could not compress/decompress data.")
-
-
-class ConfigError(Error):
- pass
-
-class DatabaseError(Error):
- pass
-
class DownloadError(Error):
message = _("An error occured when pakfire tried to download files.")
-class FileError(Error):
- pass
-
-class FileNotFoundError(Error):
- pass
-
-class OfflineModeError(Error):
- message = _("The requested action cannot be done on offline mode.\n"
- "Please connect your system to the network, remove --offline from the"
- " command line and try again.")
-
-class PackageFormatUnsupportedError(Error):
- pass
-
-class PakfireError(Error):
- pass
-
-
-class PakfireContainerError(Error):
- message = _("Running pakfire-build in a pakfire container?")
-
-
-class ShellEnvironmentError(Error):
- pass
-
-
-class SignatureError(Error):
- pass
-
-
-class TransactionCheckError(Error):
- message = _("Transaction test was not successful")
-
-
class TransportError(Error):
pass
-class TransportBadGatewayError(TransportError):
- pass
-
-
-class TransportConnectionError(TransportError):
- pass
-
-
-class TransportConnectionDNSError(TransportConnectionError):
- pass
-
-
-class TransportConnectionProxyError(TransportConnectionError):
- pass
-
-
-class TransportConnectionReadError(TransportConnectionError):
- pass
-
-
-class TransportConnectionResetError(TransportConnectionError):
- pass
-
-
-class TransportConnectionTimeoutError(TransportConnectionError):
- pass
-
-
-class TransportConnectionWriteError(TransportConnectionError):
- pass
-
-
-class TransportSSLError(TransportConnectionError):
- pass
-
-
-class TransportSSLCertificateExpiredError(TransportSSLError):
- pass
-
-
-class TransportInternalServerError(TransportError):
- pass
-
-
-class TransportForbiddenError(TransportError):
- pass
-
-
class TransportMaxTriesExceededError(TransportError):
pass
-
-
-class TransportNotFoundError(TransportError):
- pass
-
-
-class XMLRPCError(Error):
- message = _("Generic XMLRPC error.")
-
-
-class XMLRPCForbiddenError(XMLRPCError):
- message = _("You are forbidden to perform this action. Maybe you need to check your credentials.")
-
-
-class XMLRPCInternalServerError(XMLRPCError):
- message = _("A request could not be fulfilled by the server.")
-
-
-class XMLRPCNotFoundError(XMLRPCError):
- message = _("Could not find the requested URL.")
-
-
-class XMLRPCTransportError(XMLRPCError):
- message = _("An unforseable problem on the XML-RPC transport connection occured.")