You can listen to the onerror event on the window,

https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers.onerror

- Alon



On Sat, Aug 2, 2014 at 5:18 AM, Michael IV <[email protected]> wrote:

> Hi All.I wonder,how could I dispatch an exception from emscripten compiled
> code to popup an error alert message in a browser?
>
> Thanks,and kodos for the new website!  :)
>
> --
> Michael Ivanov
> Graphics Software
> onlygraphix.com
> Tel:+972 54 4962254
>
>  --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to