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 4434ac45..8f0ee3fc 100644
--- a/rpkid/rpki/exceptions.py
+++ b/rpkid/rpki/exceptions.py
@@ -278,3 +278,13 @@ class BSCNotReady(RPKI_Exception):
"""
BSC not yet in a usable state, signing_cert not set.
"""
+
+class HTTPSUnexpectedState(RPKI_Exception):
+ """
+ HTTPS event occurred in an unexpected state.
+ """
+
+class HTTPSBadVersion(RPKI_Exception):
+ """
+ HTTPS couldn't parse HTTP version.
+ """