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

Function pn_code

c/src/core/error.c:126–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126const char *pn_code(int code)
127{
128 switch (code)
129 {
130 case 0: return "<ok>";
131 case PN_EOS: return "PN_EOS";
132 case PN_ERR: return "PN_ERR";
133 case PN_OVERFLOW: return "PN_OVERFLOW";
134 case PN_UNDERFLOW: return "PN_UNDERFLOW";
135 case PN_STATE_ERR: return "PN_STATE_ERR";
136 case PN_ARG_ERR: return "PN_ARG_ERR";
137 case PN_TIMEOUT: return "PN_TIMEOUT";
138 case PN_INTR: return "PN_INTR";
139 case PN_INPROGRESS: return "PN_INPROGRESS";
140 case PN_OUT_OF_MEMORY: return "PN_OUT_OF_MEMORY";
141 case PN_ABORTED: return "PN_ABORTED";
142 default: return "<unknown>";
143 }
144}
145
146// Deprecated ABI compatibility stubs
147

Callers 10

pn_log_dataFunction · 0.85
data_test.cppFile · 0.85
check_encode_decodeFunction · 0.85
pn_test.cppFile · 0.85
describeMethod · 0.85
handleFunction · 0.85
decode_messageFunction · 0.85
handleFunction · 0.85
mainFunction · 0.85
handle_receiveFunction · 0.85

Calls

no outgoing calls

Tested by 2

check_encode_decodeFunction · 0.68
describeMethod · 0.68