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

Function throw_attribute_exists_error

tools/Wires/Attributes/WireAttributes.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 }
17
18 void throw_attribute_exists_error(const std::string& name) {
19 std::stringstream err_msg;
20 err_msg << "Attribute " << name << " already exists.";
21 throw RuntimeError(err_msg.str());
22 }
23}
24
25using namespace WireAttributesHelper;

Callers 1

add_attributeMethod · 0.85

Calls 2

RuntimeErrorClass · 0.85
strMethod · 0.45

Tested by

no test coverage detected