projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: remove LOADING_ERROR status
[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..bf36b459517055fe8a68526eca8db84fd0881d5b 100644
(file)
--- a/
src/bindings/python/bt2/bt2/__init__.py.in
+++ b/
src/bindings/python/bt2/bt2/__init__.py.in
@@
-37,6
+37,8
@@
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.error import _Error
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
+69,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 _MemoryError(_Error):
+ '''Raised when an operation 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
+97,7
@@
class Stop(StopIteration):
pass
pass
-class IncompleteUserClass(E
rror
):
+class IncompleteUserClass(E
xception
):
pass
pass
@@
-107,14
+105,6
@@
class Canceled(Exception):
pass
pass
-class NonexistentClockSnapshot(Error):
- pass
-
-
-class LoadingError(Error):
- pass
-
-
class _ListenerHandle:
def __init__(self, listener_id, obj):
self._listener_id = listener_id
class _ListenerHandle:
def __init__(self, listener_id, obj):
self._listener_id = listener_id
This page took
0.025385 seconds
and
4
git commands to generate.