X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2F__init__.py.in;h=4ceb37d1c671f0a74bbd8ee85c1d0dddb8b9ef9a;hb=1153eccbbc9fcacffeffd3d39556f250f12bce00;hp=e98e4fb0501a347eff6b0c12973a07396fff00fa;hpb=4acc866e829881299a13d0aa8e28b93807549975;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/__init__.py.in b/src/bindings/python/bt2/bt2/__init__.py.in index e98e4fb0..4ceb37d1 100644 --- a/src/bindings/python/bt2/bt2/__init__.py.in +++ b/src/bindings/python/bt2/bt2/__init__.py.in @@ -38,6 +38,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,7 +69,7 @@ from bt2.value import _IntegerValue from bt2.clock_snapshot import _UnknownClockSnapshot -class MemoryError(Error): +class _MemoryError(_Error): '''Raised when an operation fails due to memory issues.''' @@ -104,11 +105,7 @@ class Canceled(Exception): pass -class NonexistentClockSnapshot(Exception): - pass - - -class LoadingError(Error): +class _LoadingError(_Error): pass