1
0
forked from mirrors/0ad
Files
0ad/source/scriptinterface
phosit 616fa4a006 Handle C++ exceptions in Engine functions
`JSNatives` passed to SpiderMonkey must not throw exceptions. Most
callbacks are wrapped in `ScriptFunction::ToJSNative`.
This commit adds exception handling to `ScriptFunction::ToJSNative` so
that exceptions thrown in the wrapped callbacks are catched and rethrown
as JavaScript `Error`s.
2025-07-08 19:11:49 +02:00
..
2025-06-26 10:50:21 +02:00
2024-12-09 10:46:12 +01:00
2025-07-05 12:42:34 +02:00
2025-06-06 17:36:35 +02:00
2025-06-26 17:25:05 +02:00