aboutsummaryrefslogtreecommitdiff
path: root/rpki/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpki/exceptions.py')
-rw-r--r--rpki/exceptions.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/rpki/exceptions.py b/rpki/exceptions.py
index 504c6f28..3ca8bd81 100644
--- a/rpki/exceptions.py
+++ b/rpki/exceptions.py
@@ -288,6 +288,16 @@ class NoObjectAtURI(RPKI_Exception):
No object published at specified URI.
"""
+class ExistingObjectAtURI(RPKI_Exception):
+ """
+ An object has already been published at specified URI.
+ """
+
+class DifferentObjectAtURI(RPKI_Exception):
+ """
+ An object with a different hash exists at specified URI.
+ """
+
class CMSContentNotSet(RPKI_Exception):
"""
Inner content of a CMS_object has not been set. If object is known
@@ -365,3 +375,8 @@ class WrongEKU(RPKI_Exception):
"""
Extended Key Usage extension does not match profile.
"""
+
+class UnexpectedUpDownResponse(RPKI_Exception):
+ """
+ Up-down message is not of the expected type.
+ """