Watching an entire process for an error message due to the server going down

Hi guys

I have an automation which is collecting and moving files on a remote server.

At any given point in the automation, the server might go down, and an error screen will appear.

Is there a way for the automation to be aware of/anticipate an error message at any given moment in the process, and end the process cleanly when it is encountered?

Or do I need to do an element exists between each activity to check for it? :frowning:

If you use the REFramework, this will handle errors by taking a screenshot when they occur. The process ends cleanly and successfully even in the event of errors. More on the REFramework can be seen below.