G
Not sure what will happen in that case. You can experiment and see what
happens in such case, and what function will execute in such case.
On the other hand, if you already use ignore errors on several points
in the script, Im sure you can write such program logic and decide based
on error type reported what happens after each ignore error function.
For example you can write separate functions that executes by calling them
from ignore error functions. Those separate functions can, for example,
handle error cases when you want script to stop execution, so at the end
of function you can explicitely use actions that finishes the script with success
or with fail message. And in such scenario you dont need to encapsulate whole
script, but rather controll it with your custom logic on each place you use
ignore errors function.
So you can for ex. retry to load page 2-3 times based on ignore errors function
used in a loop, and if error persist after 2-3 cycles, you can call your special function
that will terminate script execution after such condition is met.