Task extension which makes it possible to store exceptions from a callback
so that is gets thrown after the task is resumed. This is useful for
providing meaningful stacktraces which point to the origin of the faulty
operation rather than to the event loop context.
Usage example:
See the documented unittest of the ExceptionForwarding struct
Boost Software License Version 1.0. See LICENSE_BOOST.txt for details.
Alternatively, this file may be distributed under the terms of the Tango
3-Clause BSD License (see LICENSE_BSD.txt for details).
Task extension which makes it possible to store exceptions from a callback so that is gets thrown after the task is resumed. This is useful for providing meaningful stacktraces which point to the origin of the faulty operation rather than to the event loop context.
Usage example: See the documented unittest of the ExceptionForwarding struct