Error handling for Lua prepared for src_lua and dst_lua.