Forum Discussion
mst1
12 years agoOccasional Contributor
Just for information, I made the next workaroud.
I created a function which give's a reference to the Err object of each unit file.
This way, I can easily catch all the error, from each file (and clear them in each file as well).
The bad thing is that I really should not forget to add this when I add another unit file in the future, but the positive thing is that I just can raise and catch errors locally the normal way (with the "local" err object)
I created a function which give's a reference to the Err object of each unit file.
This way, I can easily catch all the error, from each file (and clear them in each file as well).
The bad thing is that I really should not forget to add this when I add another unit file in the future, but the positive thing is that I just can raise and catch errors locally the normal way (with the "local" err object)