diff options
author | Rob Austein <sra@hactrn.net> | 2009-09-04 19:55:29 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-09-04 19:55:29 +0000 |
commit | 57c3a43ebac6a135e3a0f2abaa860ca68eedf963 (patch) | |
tree | 949399620c229d3c2f43c69957c72e1a0e2d189a /rpkid/rpki/exceptions.py | |
parent | 6463c56e7b4b1d6cf7d440993940156c34135e23 (diff) |
Clean up some whacked exception handling.
svn path=/rpkid/rpki/exceptions.py; revision=2732
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r-- | rpkid/rpki/exceptions.py | 10 |
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. + """ |