In general: How to catch subscription errors?
How do i catch errors from subscribers, or even better in general. Originally I tried to catch only subscription errors but as I moved on how to do catch ros exceptions in general as its done in c++ via (...)
e.g. InvalidNameException & ConflictingSubscriptionException
try{ for (unsigned i=0; i<strVec.size(); i++){
//subscribe stuff
}
} catch (...)
{ //how to catch here, like e.what() in c++
exit(1);
}