That's correct.
ClearScript doesn't expose managed exceptions directly to script-based handlers. The best approach is to catch managed exceptions in managed code and pass them to script code for analysis. This thread includes sample code for doing so.
Similarly, it's best to catch script exceptions in script code and pass them to the host if necessary. You can find an example here.
Cheers!
ClearScript doesn't expose managed exceptions directly to script-based handlers. The best approach is to catch managed exceptions in managed code and pass them to script code for analysis. This thread includes sample code for doing so.
Similarly, it's best to catch script exceptions in script code and pass them to the host if necessary. You can find an example here.
Cheers!