Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1097
int Socket::SetFailed() {
1098
return SetFailed(EFAILEDSOCKET, NULL);
1099
}
1100
1101
int Socket::SetFailed(int error_code, const char* error_fmt, ...) {
1102
std::string error_text;
Callers
4
Connect
Method · 0.45
AfterAppConnected
Method · 0.45
KeepWrite
Method · 0.45
ReturnSocket
Method · 0.45
Calls
1
string_vprintf
Function · 0.85
Tested by
no test coverage detected