The Boost Exception library supports transporting of arbitrary data in exception objects, and transporting of exceptions between threads.
Dynamic Exception Augmentation Library
Boost Exception is included in official Boost releases.
Copyright (C) 2006-2021 Emil Dotchevski. Distributed under the Boost Software License, Version 1.0.