lib: bt_plugin_find*(): return status code; add "fail on load error" param
[babeltrace.git] / src / bindings / python / bt2 / bt2 / __init__.py.in
index f80cf658622ed876a13942d9f416449d1698b4de..98a1eb5d4e214718bc6fb52cfccbf4e979804d4b 100644 (file)
@@ -62,6 +62,8 @@ from bt2.trace_collection_message_iterator import *
 from bt2.value import *
 from bt2.value import _Value
 from bt2.value import _IntegerValue
+from bt2.clock_snapshot import _UnknownClockSnapshot
+from bt2.clock_snapshot import _InfiniteClockSnapshot
 
 
 class Error(Exception):
@@ -88,10 +90,6 @@ class Stop(StopIteration):
     pass
 
 
-class PortConnectionRefused(Exception):
-    pass
-
-
 class IncompleteUserClass(Error):
     pass
 
@@ -108,6 +106,10 @@ class NonexistentClockSnapshot(Error):
     pass
 
 
+class PluginLoadingError(Error):
+    pass
+
+
 class _ListenerHandle:
     def __init__(self, listener_id, obj):
         self._listener_id = listener_id
This page took 0.024595 seconds and 4 git commands to generate.