Replace ScriptException::Raise in Engine functions

Now exceptions can be thrown. The function throwing exceptions becomes
cleaner and doesn't require a `ScriptRequest` anymore.
This commit is contained in:
phosit
2025-06-18 08:16:42 +02:00
committed by Phosit
parent 616fa4a006
commit 9822a22573
9 changed files with 87 additions and 106 deletions
@@ -32,6 +32,8 @@
#include <js/Value.h>
#include <string>
#include <stdexcept>
namespace JSI_GUIManager
{
// Note that the initData argument may only contain clonable data.