I'm trying to handle some unavoidable errors with Try and Throw. Looking at Throw in the Index it says:
Returns a Throw. If you include text, throwing stores text in a global exception_msg. If text begins with "!", throwing creates an error message about where the exception was caught.
So I tried this to get the error line:
This doesn't seem to work as intended, since it doesn't show the line that created the error or give a line number. It sounds like the info is stored in exception_msg, but script execution halts after the throw, so I cannot display it.
Has anyone had success with getting the line that caused the error?