development/Common/Utility/source/Script/ScriptAsset.cpp
//! Any major errors in c++ while compiling
//! or executing the code will be trapped here
Any major errors in c++ while compiling
or executing the code will be trapped here
Any major errors in c ++ while compiling or executing the code will be trapped here
int LuaPanicError_Runtime(lua_State *L)
    {
        lb::object error_msg(lb::from_stack(L, -1));
        std::string errMsg = "Runtime: " + boost::lexical_cast<std::string>(error_msg);
        throw ex::script_runtime(errMsg.c_str());
    }
int LuaPanicError_Runtime ( lua_State * L ) { lb :: object error_msg ( lb :: from_stack ( L , -1 ) ) ; std :: string errMsg = " " + boost :: lexical_cast < std :: string > ( error_msg ) ; throw ex :: script_runtime ( errMsg . c_str ( ) ) ; }
Any major errors in c++ while compiling
or executing the code will be trapped here
Any major errors in c ++ while compiling or executing the code will be trapped here
// I'm not sure if I can access even lua state here to extract an error string