| 10 | |
| 11 | namespace 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; |
no test coverage detected