2 * SPDX-License-Identifier: MIT
4 * Copyright (c) 2019 EfficiOS Inc. and Linux Foundation
8 * We include current-thread.h here, because for now, it only contains
9 * error-related things.
11 %include <babeltrace2/error-reporting.h>
14 #include "native_bt_error.i.h"
18 PyObject *bt_bt2_format_bt_error_cause(const bt_error_cause *error_cause);
21 PyObject *bt_bt2_format_bt_error(const bt_error *error);