Tao.Lua SDK Documentation

Lua.lua_error Method 

Generates a Lua error. The error message (which can actually be a Lua value of any type) must be on the stack top. This function does a long jump, and therefore never returns. (see luaL_error).

[Visual Basic]
Public Shared Function lua_error( _
   ByVal L As IntPtr _
) As Integer
[C#]
public static int lua_error(
   IntPtr L
);

Parameters

L

Return Value

See Also

Lua Class | Tao.Lua Namespace