#
# 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
def __str__(self):
return self._str
+
+
+class _MemoryError(_Error):
+ """Raised when an operation fails due to memory issues."""