Refactor code to support parsing ascii keys.
[keymanager.git] / src / leap / keymanager / errors.py
index 89949d2..27180db 100644 (file)
@@ -84,3 +84,15 @@ class SignFailed(Exception):
     Raised when failed to sign.
     """
     pass
+
+
+class KeyAddressMismatch(Exception):
+    """
+    A mismatch between addresses.
+    """
+
+
+class KeyFingerprintMismatch(Exception):
+    """
+    A mismatch between fingerprints.
+    """