lib: add bt_{graph,query_executor}_add_interrupter()
[babeltrace.git] / src / bindings / python / bt2 / bt2 / __init__.py.in
index ba17f1bed030ef01e8d445c44ed132fa0ca896bc..01c87e51c238f932ccaf16803dccf6e019a2d64b 100644 (file)
@@ -23,6 +23,7 @@
 __version__ = '@PACKAGE_VERSION@'
 
 
+from bt2.interrupter import *
 from bt2.clock_class import *
 from bt2.clock_snapshot import *
 from bt2.component import *
@@ -38,6 +39,7 @@ from bt2.component import _UserSourceComponent
 from bt2.connection import *
 from bt2.connection import _Connection
 from bt2.error import *
+from bt2.error import _Error
 from bt2.event import _Event
 from bt2.event_class import *
 from bt2.field_class import *
@@ -68,8 +70,8 @@ from bt2.value import _IntegerValue
 from bt2.clock_snapshot import _UnknownClockSnapshot
 
 
-class CreationError(Error):
-    '''Raised when object creation fails due to memory issues.'''
+class _MemoryError(_Error):
+    '''Raised when an operation fails due to memory issues.'''
 
 
 class InvalidObject(Exception):
@@ -84,10 +86,6 @@ class OverflowError(OverflowError):
     pass
 
 
-class Unsupported(Exception):
-    pass
-
-
 class TryAgain(Exception):
     pass
 
@@ -100,18 +98,6 @@ class IncompleteUserClass(Exception):
     pass
 
 
-class Canceled(Exception):
-    pass
-
-
-class NonexistentClockSnapshot(Exception):
-    pass
-
-
-class LoadingError(Error):
-    pass
-
-
 class _ListenerHandle:
     def __init__(self, listener_id, obj):
         self._listener_id = listener_id
This page took 0.024433 seconds and 4 git commands to generate.