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

Function fail

example/websocket/server/fast/websocket_server_fast.cpp:54–58  ·  view source on GitHub ↗

Report a failure

Source from the content-addressed store, hash-verified

52
53// Report a failure
54void
55fail(beast::error_code ec, char const* what)
56{
57 std::cerr << (std::string(what) + ": " + ec.message() + "\n");
58}
59
60// Adjust settings on the stream
61template<class NextLayer>

Callers 9

do_sync_sessionFunction · 0.70
do_sync_listenFunction · 0.70
on_acceptMethod · 0.70
on_readMethod · 0.70
on_writeMethod · 0.70
async_listenerMethod · 0.70
on_acceptMethod · 0.70
do_coro_sessionFunction · 0.70
do_coro_listenFunction · 0.70

Calls 1

messageMethod · 0.80

Tested by

no test coverage detected