mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-05-01 03:19:28 +08:00
eval_error now stores the original Boxed_Value from script-thrown exceptions, accessible via has_boxed_value() and boxed_value(). The new rethrow_typed<Types...>(engine) method provides auto-unboxing without requiring exception_specification to be passed to eval(). This delivers the API simplification envisioned in issue #63: users can catch eval_error, inspect the call stack, and rethrow as typed exceptions in a single catch block. Requested by @lefticus in PR #682 review. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| chaiscript_algebraic.hpp | ||
| chaiscript_common.hpp | ||
| chaiscript_engine.hpp | ||
| chaiscript_eval.hpp | ||
| chaiscript_optimizer.hpp | ||
| chaiscript_parser.hpp | ||
| chaiscript_posix.hpp | ||
| chaiscript_prelude_docs.hpp | ||
| chaiscript_prelude.hpp | ||
| chaiscript_tracer.hpp | ||
| chaiscript_unknown.hpp | ||
| chaiscript_windows.hpp | ||