bt2: rename CreationError to MemoryError, handle it in and out of Python bindings
[babeltrace.git] / src / bindings / python / bt2 / bt2 / __init__.py.in
index ba17f1bed030ef01e8d445c44ed132fa0ca896bc..e98e4fb0501a347eff6b0c12973a07396fff00fa 100644 (file)
@@ -68,8 +68,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):
This page took 0.0234 seconds and 4 git commands to generate.