I am trying to create some sort of error catching method that will return the error line number. We have an abort email that is sent out when a process aborts that gives us the err.number and err.description but I would like to know where is actually errors out.
I know you can do the following:
1: code here
2: code here
3: code here
etc. and use ERL to get the number but it would be tedious to type each line out like that.
Is there either a way to automatically do this or would it be easier to use Stacktrace? If Stacktrace is better could you please show me an example?