summaryrefslogtreecommitdiff
path: root/src/leap/keymanager/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/keymanager/errors.py')
-rw-r--r--src/leap/keymanager/errors.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/leap/keymanager/errors.py b/src/leap/keymanager/errors.py
index ebe4fd5e..f8965823 100644
--- a/src/leap/keymanager/errors.py
+++ b/src/leap/keymanager/errors.py
@@ -96,3 +96,9 @@ class KeyFingerprintMismatch(Exception):
"""
A mismatch between fingerprints.
"""
+
+
+class KeyNotValidUpgrade(Exception):
+ """
+ Already existing key can not be upgraded with the new key
+ """