> The result will be empty if an exception occoured. You can use a stack
> allocated v8::TryCatch in C++ to catch exceptions.
> Take a look at the test "FunctionCall" in test/cctest/test-api.cc.

Which is better: checking if the return value is empty or using
try_catch.HasCaught() ?

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to