Closed jacobperron closed 3 years ago
Otherwise, ament_index_cpp will throw a std::runtime_error. Throwing an exception from resource_retriever instead makes for a more useful error message.
I think this would be good to backport to Foxy (and maybe other distros). For context, this fixes a crash in RViz when loading meshes. It is only expecting exceptions of type resource_retriever::Exception.
resource_retriever::Exception
Backports:
Otherwise, ament_index_cpp will throw a std::runtime_error. Throwing an exception from resource_retriever instead makes for a more useful error message.