cpp-common/bt2c/fmt.hpp: use `wise_enum::string_type` in `EnableIfIsWiseEnum` definition
[babeltrace.git] / src / string-format / format-error.h
CommitLineData
96c1b5fe 1/*
0235b0db 2 * SPDX-License-Identifier: MIT
96c1b5fe 3 *
0235b0db 4 * Copyright (C) 2019 EfficiOS, Inc.
96c1b5fe
SM
5 */
6
0235b0db
MJ
7#ifndef _BABELTRACE_STRING_FORMAT_FORMAT_ERROR_H
8#define _BABELTRACE_STRING_FORMAT_FORMAT_ERROR_H
9
96c1b5fe
SM
10#include <babeltrace2/babeltrace.h>
11#include <common/common.h>
12#include <common/macros.h>
13#include <glib.h>
14
30b828d2
SM
15gchar *format_bt_error_cause(
16 const bt_error_cause *error_cause,
17 unsigned int columns,
18 bt_logging_level log_level,
19 enum bt_common_color_when use_colors);
20
96c1b5fe
SM
21gchar *format_bt_error(
22 const bt_error *error,
23 unsigned int columns,
24 bt_logging_level log_level,
25 enum bt_common_color_when use_colors);
26
27#endif /* _BABELTRACE_STRING_FORMAT_FORMAT_ERROR_H */
This page took 0.050699 seconds and 5 git commands to generate.