projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bt2: make bt2.Error wrap current thread's error
[babeltrace.git]
/
src
/
bindings
/
python
/
bt2
/
bt2
/
__init__.py.in
diff --git
a/src/bindings/python/bt2/bt2/__init__.py.in
b/src/bindings/python/bt2/bt2/__init__.py.in
index 49e02d4a3f296e30b9b0cbc7833cea831a9d6a97..ba17f1bed030ef01e8d445c44ed132fa0ca896bc 100644
(file)
--- a/
src/bindings/python/bt2/bt2/__init__.py.in
+++ b/
src/bindings/python/bt2/bt2/__init__.py.in
@@
-37,6
+37,7
@@
from bt2.component import _UserSinkComponent
from bt2.component import _UserSourceComponent
from bt2.connection import *
from bt2.connection import _Connection
from bt2.component import _UserSourceComponent
from bt2.connection import *
from bt2.connection import _Connection
+from bt2.error import *
from bt2.event import _Event
from bt2.event_class import *
from bt2.field_class import *
from bt2.event import _Event
from bt2.event_class import *
from bt2.field_class import *
@@
-67,19
+68,15
@@
from bt2.value import _IntegerValue
from bt2.clock_snapshot import _UnknownClockSnapshot
from bt2.clock_snapshot import _UnknownClockSnapshot
-class Error(Exception):
- pass
-
-
class CreationError(Error):
'''Raised when object creation fails due to memory issues.'''
class CreationError(Error):
'''Raised when object creation fails due to memory issues.'''
-class InvalidObject(E
rror
):
+class InvalidObject(E
xception
):
pass
pass
-class InvalidParams(E
rror
):
+class InvalidParams(E
xception
):
pass
pass
@@
-99,7
+96,7
@@
class Stop(StopIteration):
pass
pass
-class IncompleteUserClass(E
rror
):
+class IncompleteUserClass(E
xception
):
pass
pass
@@
-107,7
+104,7
@@
class Canceled(Exception):
pass
pass
-class NonexistentClockSnapshot(E
rror
):
+class NonexistentClockSnapshot(E
xception
):
pass
pass
This page took
0.024202 seconds
and
4
git commands to generate.