MCPcopy Create free account
hub / github.com/chen3feng/toft / SocketError

Method SocketError

system/net/socket.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15// Socket class members
16
17SocketError::SocketError(const char* info, int error) :
18 std::runtime_error(std::string(info) + std::string(": ") + SocketGetErrorString(error)),
19 m_error(error)
20{
21}
22
23/////////////////////////////////////////////////////////////////////////////
24// Socket class members

Callers

nothing calls this directly

Calls 1

SocketGetErrorStringFunction · 0.85

Tested by

no test coverage detected