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

Function throw_attribute_not_found_error

tools/Wires/Attributes/WireAttributes.cpp:12–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11namespace WireAttributesHelper {
12 void throw_attribute_not_found_error(const std::string& name) {
13 std::stringstream err_msg;
14 err_msg << "Attribute " << name << " does not exist.";
15 throw RuntimeError(err_msg.str());
16 }
17
18 void throw_attribute_exists_error(const std::string& name) {
19 std::stringstream err_msg;

Callers 3

WireAttributes.cppFile · 0.85
set_attributeMethod · 0.85
is_vertex_attributeMethod · 0.85

Calls 2

RuntimeErrorClass · 0.85
strMethod · 0.45

Tested by

no test coverage detected