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

Method onReadError

flow/Net2.actor.cpp:726–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

724 }
725
726 void onReadError(const boost::system::error_code& error) {
727 TraceEvent(SevWarn, "N2_UDPReadError", id)
728 .suppressFor(1.0)
729 .detail("ErrorCode", error.value())
730 .detail("Message", error.message());
731 closeSocket();
732 }
733 void onWriteError(const boost::system::error_code& error) {
734 TraceEvent(SevWarn, "N2_UDPWriteError", id)
735 .suppressFor(1.0)

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected