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