aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r--rpkid/rpki/exceptions.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py
index e98357a0..3f350f04 100644
--- a/rpkid/rpki/exceptions.py
+++ b/rpkid/rpki/exceptions.py
@@ -263,3 +263,13 @@ class DuplicateObject(RPKI_Exception):
"""
Attempt to create an object that already exists.
"""
+
+class EmptyROAPrefixList(RPKI_Exception):
+ """
+ Can't create ROA with an empty prefix list.
+ """
+
+class NoCoveringCertForROA(RPKI_Exception):
+ """
+ Couldn't find a covering certificate to generate ROA.
+ """