cpp-common: Add common exceptions
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 19 Apr 2022 20:49:47 +0000 (16:49 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 11 Sep 2023 15:24:02 +0000 (11:24 -0400)
commitf197dce340f4723816cd473b7803129911606008
tree61826a6b14df620224365ab68926e66032ae39f9
parentf6368b95b8e549695f3ee1b953cc2e7b094736eb
cpp-common: Add common exceptions

Add `bt2_common::{End, Error, MemoryError, TryAgain}` exception classes
to use in in-tree components and elsewhere. Each exception inherits a
C++ standard exception that I believe matches more closely in meaning.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: I7335465f2377e032ae9706108708e35d78d38e6e
Reviewed-on: https://review.lttng.org/c/babeltrace/+/7918
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10809
Tested-by: jenkins <jenkins@lttng.org>
CI-Build: Philippe Proulx <eeppeliteloop@gmail.com>
src/cpp-common/Makefile.am
src/cpp-common/exc.hpp [new file with mode: 0644]
This page took 0.026319 seconds and 4 git commands to generate.