MCPcopy Create free account
hub / github.com/boostorg/beast / fail

Function fail

example/websocket/server/stackless/websocket_server_stackless.cpp:39–43  ·  view source on GitHub ↗

Report a failure

Source from the content-addressed store, hash-verified

37
38// Report a failure
39void
40fail(beast::error_code ec, char const* what)
41{
42 std::cerr << what << ": " << ec.message() << "\n";
43}
44
45// Echoes back all received WebSocket messages
46class session

Callers 3

loopMethod · 0.70
listenerMethod · 0.70
loopMethod · 0.70

Calls 1

messageMethod · 0.80

Tested by

no test coverage detected