Error generates a Lua error. The error message must be on the stack top. The error can be any of any Lua type. This function will panic(). http://www.lua.org/manual/5.2/manual.html#lua_error
()
| 1169 | // |
| 1170 | // http://www.lua.org/manual/5.2/manual.html#lua_error |
| 1171 | func (l *State) Error() { |
| 1172 | l.checkElementCount(1) |
| 1173 | l.errorMessage() |
| 1174 | } |
| 1175 | |
| 1176 | // Next pops a key from the stack and pushes a key-value pair from the table |
| 1177 | // at index, while the table has next elements. If there are no more |