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

Method what

cpp/src/error_condition.cpp:78–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78std::string error_condition::what() const {
79 if (!*this) {
80 return "No error condition";
81 } else {
82 std::string s(name_);
83 if (!description_.empty()) {
84 s += ": ";
85 s += description_;
86 }
87 return s;
88 }
89}
90
91bool operator==(const error_condition& x, const error_condition& y) {
92 return x.name() == y.name() && x.description() == y.description()

Callers 15

apply_configFunction · 0.45
parseFunction · 0.45
parse_defaultFunction · 0.45
dispatchMethod · 0.45
on_errorMethod · 0.45
test_container_mt_stopFunction · 0.45
mainFunction · 0.45
on_transport_errorMethod · 0.45
on_transport_errorMethod · 0.45
on_transport_errorMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by 14

test_container_mt_stopFunction · 0.36
mainFunction · 0.36
on_transport_errorMethod · 0.36
on_transport_errorMethod · 0.36
on_transport_errorMethod · 0.36
processMethod · 0.36
on_transport_errorMethod · 0.36
on_connection_errorMethod · 0.36
on_errorMethod · 0.36
test_endpoint_closeFunction · 0.36