leftibot 2c80c2a55a Fix #63: Derive eval_error from std::nested_exception and wrap thrown exceptions
eval_error now inherits from both std::runtime_error and std::nested_exception,
enabling users to access the original exception via rethrow_nested() or
nested_ptr(). The engine's eval() method wraps uncaught Boxed_Value exceptions
in eval_error, nesting the original Boxed_Value so it can be recovered.
exception_specification continues to work for typed exception unboxing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 19:02:32 -06:00
..
chaiscript Fix #63: Derive eval_error from std::nested_exception and wrap thrown exceptions 2026-04-13 19:02:32 -06:00