The standard LUA function error(message, level) ignores the error level option.

The output of the line numbers from the error message depends on the chosen level of this function.
  • Level 0 means no line numbers
  • Level 1 shows the lines of the origin of the function the error is thrown in
  • Level 2 is the origin of the caller


But it seems no matter what level i chose it is always level 1. What is up with that? please correct that.