]> git.ipfire.org Git - people/stevee/pakfire.git/blobdiff - python/pakfire/errors.py
client/daemon: Don't make internal server errors fatal for keepalives/updates.
[people/stevee/pakfire.git] / python / pakfire / errors.py
index fa9df78c84a55fe641c02d99a855e65c2432e0c2..3af257d531be3513ddd1d067f40c8d8890a280fb 100644 (file)
@@ -86,5 +86,29 @@ class PakfireContainerError(Error):
        message = _("Running pakfire-build in a pakfire container?")
 
 
+class SignatureError(Error):
+       pass
+
+
 class TransactionCheckError(Error):
        message = _("Transaction test was not successful")
+
+
+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.")