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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py
index c1475680..5093d2a4 100644
--- a/rpkid/rpki/exceptions.py
+++ b/rpkid/rpki/exceptions.py
@@ -84,3 +84,6 @@ class BadIRDBReply(Exception):
class NotFound(Exception):
"""Object not found in database."""
+
+class MustBePrefix(Exception):
+ """Resource range cannot be expressed as a prefix."""