Despite our best efforts to anticipate, catch, and handle all the errors that we can think of, there will always be a chance that the process will encounter an error that we have not foreseen and will terminate unexpectedly. When an unexpected error occurs, the usual protocol is for the robot to inform the human in charge of the process that it is not able to continue, the exact point where it stopped, and when it terminated.
The best place to catch all unexpected errors is the Main page. Remember that exception handling bubbles up from business objects to subpages and finally to the Main page. It does not matter where in the process the exception occurs; an error handling routine on the Main page will catch it. ...