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

Method what

flow/Error.cpp:165–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165const char* Error::what() const {
166 const auto& table = errorCodeTable();
167 auto it = table.find(error_code);
168 if (it == table.end())
169 return "UNKNOWN_ERROR";
170 return it->second.second;
171}
172
173void Error::init() {
174 errorCodeTable();

Callers 15

ErrorMethod · 0.45
initMethod · 0.45
Trace.cppFile · 0.45
testPathFunctionFunction · 0.45
testPathFunction2Function · 0.45
ConfigureSSLContextFunction · 0.45
ConfigureSSLStreamFunction · 0.45
loadSyncMethod · 0.45
loadAsyncMethod · 0.45
mainFunction · 0.45
isAddressOnThisHostMethod · 0.45
listenMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 2

readTOMLTestsFunction · 0.36