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.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py
index 70608f5f..c3638375 100644
--- a/rpkid/rpki/exceptions.py
+++ b/rpkid/rpki/exceptions.py
@@ -136,3 +136,12 @@ class NoActiveCA(RPKI_Exception):
class BadClientURL(RPKI_Exception):
"""URL given to HTTPS client does not match profile."""
+
+class ClientNotFound(RPKI_Exception):
+ """Could not find specified client in database."""
+
+class BadExtension(RPKI_Exception):
+ """Forbidden X.509 extension."""
+
+class ForbiddenURI(RPKI_Exception):
+ """Forbidden URI, does not start with correct base URI."""