I have a lua function that takes arguments. I want to get the name of the argument so that I can register the argument along with the error.
Any idea how to get the argument name in lua?
Use debug.getlocal .