How to deal with server connection error?

Is it possible to create an exception to handle this type of error?

“Could not access the specified Computer Vision server. [523] uipath computer vision”