2 * Copyright (c) 2020-2022 Philippe Proulx <pproulx@efficios.com>
4 * SPDX-License-Identifier: MIT
7 #ifndef BABELTRACE_CPP_COMMON_BT2_EXC_HPP
8 #define BABELTRACE_CPP_COMMON_BT2_EXC_HPP
10 #include "cpp-common/bt2c/exc.hpp"
14 using Error = bt2c::Error;
15 using OverflowError = bt2c::OverflowError;
16 using MemoryError = bt2c::MemoryError;
17 using TryAgain = bt2c::TryAgain;
20 * Unknown query object.
22 class UnknownObject : public std::exception
25 explicit UnknownObject() noexcept : std::exception {}
32 #endif /* BABELTRACE_CPP_COMMON_BT2_EXC_HPP */