Couldn’t you just create your own exception type to wrap the actually thrown expression and your fake backtrace (also define display_backtrace etc for proper printing and so on)?
Couldn’t you just create your own exception type to wrap the actually thrown expression and your fake backtrace (also define display_backtrace etc for proper printing and so on)?