I've been having some trouble figuring out how to handle my errors correctly.
Here's an example scenario:
- Two Procedures
- Procedure 1, calls Procedure 2
- If an error happens in Procedure 2, I want the Error Handler in Procedure 1 to run
- I want to record the line (ERL) of the error in Procedure 2
If I just leave the error handler in procedure 1, then it flags the error line as being the call to procedure 2. But if I put an error handler in procedure 2, it doesn't also trigger the error handler in procedure 1.
Bookmarks