LuaInterface.LuaStatePtr.ThrowLuaException C# (CSharp) Method

ThrowLuaException() public method

public ThrowLuaException ( Exception e ) : void
e System.Exception
return void
        public void ThrowLuaException(Exception e)
        {
            if (LuaException.InstantiateCount > 0 || LuaException.SendMsgCount > 0)
            {
                LuaDLL.toluaL_exception(L, e);
            }
            else
            {
                throw e;
            }
        }