Feedback alarm message in TCP communication

Hello everyone, when the robot encounters the next point I send is abnormal, it will stop giving a warning of “invalid waypoint” or something like that. I want to capture the warning signal receipt of UR robot through TCP, can I do that?