aboutsummaryrefslogtreecommitdiff
path: root/rpki/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpki/exceptions.py')
-rw-r--r--rpki/exceptions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/rpki/exceptions.py b/rpki/exceptions.py
index cbdb9f83..d66ad00c 100644
--- a/rpki/exceptions.py
+++ b/rpki/exceptions.py
@@ -241,3 +241,9 @@ class UnexpectedUpDownResponse(RPKI_Exception):
class BadContentType(RPKI_Exception):
"Bad HTTP Content-Type."
+
+class ResourceClassMismatch(RPKI_Exception):
+ "Up-down resource class does not match."
+
+class IRDBExpired(RPKI_Exception):
+ "Back-end database record has expired."