It isn't used. We never pass a bt_error pointer when constructing an
_Error, the constructor of _Error always takes the bt_error from the
current thread.
Change-Id: I3c5920afe217f3b2067f9fb397b8ef8069d71b11
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2555
Tested-by: jenkins <jenkins@lttng.org>
the ERROR or MEMORY_ERROR status codes.
"""
- def __init__(self, msg, ptr=None):
+ def __init__(self, msg):
super().__init__(msg)
# Steal the current thread's error.
self._ptr = native_bt.current_thread_take_error()