The errorOccurred event occurs when an error arises while a logical unit of work is being performed. Look at the attributes of the last error part for specific error information.
For example, you can connect this event to the display action to display a message box for the error.