Try Catch activity allows the user to look for a particular error and capture it. When a specified error is captured, Try Catch can be configured to continue the execution by treating the error as an exception or show an error message to the user.
The entire activity can be segmented into three critical parts which include Try, Catches, Finally. Inside Try, the user needs to place the main workflow activity for which the error is to be captured.
Inside Catches, the user needs to state the type of error to capture from the supplied activity. UiPath also provides various predefined errors inside the Catches to be added as an exception.
Lastly, the user needs to choose what to do when UiPath captures the specified error inside Finally.