refactor: Extract util/exception from util/system

This is a minimal extraction of a single function, but also the only use
of std::exception in util/system.

The background of this commit is an ongoing effort to decouple the
libbitcoinkernel library from the ArgsManager defined in system.h.
Moving the function out of system.h allows including it from a separate
source file without including the ArgsManager definitions from system.h.
This commit is contained in:
Ben Woosley authored and TheCharlatan committed 2023-03-13 17:09:47 +01:00
1 parent f7bdcfc83f
commit e7333b420e
15 files changed
+69 -30

No files matched your search

+1
View File
@@ -69,6 +69,7 @@ if [ "${RUN_TIDY}" = "true" ]; then
" src/util/bytevectorhash.cpp"\
" src/util/check.cpp"\
" src/util/error.cpp"\
" src/util/exception.cpp"\
" src/util/getuniquepath.cpp"\
" src/util/hasher.cpp"\
" src/util/message.cpp"\