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

Method check

cpp/src/encoder.cpp:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42namespace codec {
43
44void encoder::check(long result) {
45 if (result < 0)
46 throw conversion_error(error_str(pn_data_error(pn_object()), result));
47}
48
49
50encoder::encoder(internal::value_base& v) : data(v.data()) {

Callers

nothing calls this directly

Calls 2

error_strFunction · 0.85
pn_data_errorFunction · 0.85

Tested by

no test coverage detected