MCPcopy Create free account
hub / github.com/apache/brpc / SetFailed

Method SetFailed

src/brpc/socket.cpp:1097–1099  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1095
1096
1097int Socket::SetFailed() {
1098 return SetFailed(EFAILEDSOCKET, NULL);
1099}
1100
1101int Socket::SetFailed(int error_code, const char* error_fmt, ...) {
1102 std::string error_text;

Callers 4

ConnectMethod · 0.45
AfterAppConnectedMethod · 0.45
KeepWriteMethod · 0.45
ReturnSocketMethod · 0.45

Calls 1

string_vprintfFunction · 0.85

Tested by

no test coverage detected