bt2: rename CreationError to MemoryError, handle it in and out of Python bindings
[babeltrace.git] / src / bindings / python / bt2 / bt2 / value.py
index 9ba010869a9875382dd73716dbb75a78c62b4b57..2c9476604be8b337228716a4956b02dc8e4564ad 100644 (file)
@@ -92,7 +92,7 @@ class _Value(object._SharedObject, metaclass=abc.ABCMeta):
 
     def _check_create_status(self, ptr):
         if ptr is None:
-            raise bt2.CreationError(
+            raise bt2.MemoryError(
                 'cannot create {} value object'.format(self._NAME.lower())
             )
 
This page took 0.023942 seconds and 4 git commands to generate.