MCPcopy Create free account
hub / github.com/apple/foundationdb / onReadError

Function onReadError

flow/Net2.actor.cpp:1158–1164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1156 }
1157
1158 void onReadError(const boost::system::error_code& error) {
1159 TraceEvent(SevWarn, "N2_ReadError", id)
1160 .suppressFor(1.0)
1161 .detail("ErrorCode", error.value())
1162 .detail("Message", error.message());
1163 closeSocket();
1164 }
1165 void onWriteError(const boost::system::error_code& error) {
1166 TraceEvent(SevWarn, "N2_WriteError", id)
1167 .suppressFor(1.0)

Callers 2

readMethod · 0.85
readFunction · 0.85

Calls 5

TraceEventClass · 0.85
closeSocketFunction · 0.85
detailMethod · 0.80
messageMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected