%include <babeltrace2/error-const.h>
%include <babeltrace2/error-cause-const.h>
+%{
+#include "native_bt_error.i.h"
+%}
+
+static
+PyObject *bt_bt2_format_bt_error_cause(const bt_error_cause *error_cause);
+
+static
+PyObject *bt_bt2_format_bt_error(const bt_error *error);