how to get data as table from exception in lua??
x * 2
-- stdin:1: attempt to perform arithmetic on a nil value (global 'x')
-- stack traceback:
-- stdin:1: in main chunk
-- [C]: in ?
how to get info from exception? here example
print(getErrorInfo()['message'])
print(getErrorInfo()['line'])
-- attempt to perform arithmetic on a nil value (global 'x')
-- 1