summaryrefslogtreecommitdiff
path: root/src/leap/keymanager/errors.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-11-25 16:35:27 -0200
committerdrebs <drebs@leap.se>2013-11-25 18:43:05 -0200
commit5d5f5ee44ab0baec3984f435dcd8783609f79867 (patch)
tree74a657d5c92fb328be455198c7f37480fcb83d41 /src/leap/keymanager/errors.py
parentd6448f679b793efbc6c3352e11024d13b31aaef3 (diff)
Improve exceptions names and handling.
Diffstat (limited to 'src/leap/keymanager/errors.py')
-rw-r--r--src/leap/keymanager/errors.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/keymanager/errors.py b/src/leap/keymanager/errors.py
index 27180dbd..ebe4fd5e 100644
--- a/src/leap/keymanager/errors.py
+++ b/src/leap/keymanager/errors.py
@@ -58,21 +58,21 @@ class InvalidSignature(Exception):
pass
-class EncryptionFailed(Exception):
+class EncryptError(Exception):
"""
Raised upon failures of encryption.
"""
pass
-class DecryptionFailed(Exception):
+class DecryptError(Exception):
"""
Raised upon failures of decryption.
"""
pass
-class EncryptionDecryptionFailed(Exception):
+class GPGError(Exception):
"""
Raised upon failures of encryption/decryption.
"""