cpp-common/bt2: add `plugin-dev.hpp`
[babeltrace.git] / src / cpp-common / bt2 / exc.hpp
index 723368c6378155ecfbced551cfa209b2f412260c..d398e9cbd7d356dce7e247efc612af5151db9d6a 100644 (file)
@@ -16,6 +16,17 @@ using OverflowError = bt2c::OverflowError;
 using MemoryError = bt2c::MemoryError;
 using TryAgain = bt2c::TryAgain;
 
+/*
+ * Unknown query object.
+ */
+class UnknownObject : public std::exception
+{
+public:
+    explicit UnknownObject() noexcept : std::exception {}
+    {
+    }
+};
+
 } /* namespace bt2 */
 
 #endif /* BABELTRACE_CPP_COMMON_BT2_EXC_HPP */
This page took 0.027333 seconds and 4 git commands to generate.