| 14 | |
| 15 | namespace PLYParserHelper { |
| 16 | void throw_attribute_not_found_exception( |
| 17 | const std::string& name) { |
| 18 | std::stringstream err_msg; |
| 19 | err_msg << "Attribute " << name << " does not exist"; |
| 20 | throw RuntimeError(err_msg.str()); |
| 21 | } |
| 22 | |
| 23 | void assert_success(bool val) { |
| 24 | if (!val) { |
no test coverage detected