]> git.ipfire.org Git - thirdparty/strongswan.git/blame - src/libcharon/plugins/vici/python/vici/exception.py
vici: Extract command wrappers in Python bindings
[thirdparty/strongswan.git] / src / libcharon / plugins / vici / python / vici / exception.py
CommitLineData
b26e1428
BS
1"""Exception types that may be thrown by this library."""
2
e0f7da86 3
b26e1428 4class DeserializationException(Exception):
8c089cdd
BS
5 """Encountered an unexpected byte sequence or missing element type."""
6
e0f7da86 7
8c089cdd 8class SessionException(Exception):
90e16837
MW
9 """Session request exception."""
10
e0f7da86 11
90e16837
MW
12class CommandException(Exception):
13 """Command result exception."""
cf4cefee 14
e0f7da86 15
cf4cefee
TB
16class EventUnknownException(Exception):
17 """Event unknown exception."""