Hi John,

I'm trying to provide my own custom error handler that will replace
the default dialog shown after run-time errors in wxlua
(wxLuaModuleApp::OnLuaError), but I'm having trouble with it as
wxEVT_LUA_ERROR doesn't seem to be available to Lua scripts.

Was that intentional and is it possible to make it available as it
would be very convenient for my app to capture and report errors and
to provide a customized error message?

I also tried providing my own debug.traceback call to hadle this (and
to return nil from it), but wxlua still shows an empty dialog in this
case (and I'd prefer the dialog to be completely removed). Having
ability to assign EVT_LUA_ERROR handler would be the easiest/proper
way to handle this. Thank you.

Paul.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to