python: run isort on everything
[babeltrace.git] / src / bindings / python / bt2 / bt2 / error.py
index e07a3f9002d1cb8c9a5fc32660c70e294e3d51ae..b6d0e9e11edbbcf8eadd9e024f6ab8e1520dec67 100644 (file)
@@ -2,9 +2,10 @@
 #
 # Copyright (c) 2019 Simon Marchi <simon.marchi@efficios.com>
 
-from bt2 import native_bt
 from collections import abc
 
+from bt2 import native_bt
+
 
 class ComponentClassType:
     SOURCE = native_bt.COMPONENT_CLASS_TYPE_SOURCE
@@ -219,3 +220,7 @@ class _Error(Exception, abc.Sequence):
 
     def __str__(self):
         return self._str
+
+
+class _MemoryError(_Error):
+    """Raised when an operation fails due to memory issues."""
This page took 0.028346 seconds and 4 git commands to generate.