MCPcopy Create free account
hub / github.com/apache/qpid-proton / set_error_condition

Function set_error_condition

cpp/src/proton_bits.cpp:63–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void set_error_condition(const error_condition& e, pn_condition_t *c) {
64 pn_condition_clear(c);
65
66 if (!e.name().empty()) {
67 pn_condition_set_name(c, e.name().c_str());
68 }
69 if (!e.description().empty()) {
70 pn_condition_set_description(c, e.description().c_str());
71 }
72 value(pn_condition_info(c)) = e.properties();
73}
74
75}

Callers 3

disconnectedMethod · 0.85
closeMethod · 0.85
stopMethod · 0.85

Calls 10

pn_condition_clearFunction · 0.85
pn_condition_infoFunction · 0.85
c_strMethod · 0.80
descriptionMethod · 0.80
pn_condition_set_nameFunction · 0.50
valueFunction · 0.50
emptyMethod · 0.45
nameMethod · 0.45
propertiesMethod · 0.45

Tested by

no test coverage detected