Commit | Line | Data |
---|---|---|
39278ebc PP |
1 | /* |
2 | * Copyright (c) 2020-2022 Philippe Proulx <pproulx@efficios.com> | |
3 | * | |
4 | * SPDX-License-Identifier: MIT | |
5 | */ | |
6 | ||
7 | #ifndef BABELTRACE_CPP_COMMON_BT2_EXC_HPP | |
8 | #define BABELTRACE_CPP_COMMON_BT2_EXC_HPP | |
9 | ||
39278ebc | 10 | #include <stdexcept> |
c802cacb | 11 | #include <string> |
39278ebc PP |
12 | |
13 | #include "cpp-common/exc.hpp" | |
14 | ||
15 | namespace bt2 { | |
16 | ||
17 | using Error = bt2_common::Error; | |
18 | using OverflowError = bt2_common::OverflowError; | |
19 | using MemoryError = bt2_common::MemoryError; | |
20 | ||
21 | } /* namespace bt2 */ | |
22 | ||
23 | #endif /* BABELTRACE_CPP_COMMON_BT2_EXC_HPP */ |