MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / throw_attribute_not_found_exception

Function throw_attribute_not_found_exception

src/IO/PLYParser.cpp:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15namespace 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) {

Callers 3

get_attribute_sizeMethod · 0.85
export_attributeMethod · 0.85
add_property_valueMethod · 0.85

Calls 2

RuntimeErrorClass · 0.85
strMethod · 0.45

Tested by

no test coverage detected