This makes the constructions of string errors more concise and more consistent, mainly by removing the `inconvertibleErrorCode()`. Additional changes replace `createStringError(formatv(...), ...)` with `createStringErrorV(...)`. Assisted-by: Claude
Rename Lua to LuaState to avoid conflicts between Lua.h and lua.h on case-insensitive file systems.