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

Function fail

example/http/server/async/http_server_async.cpp:206–210  ·  view source on GitHub ↗

Report a failure

Source from the content-addressed store, hash-verified

204
205// Report a failure
206void
207fail(beast::error_code ec, char const* what)
208{
209 std::cerr << what << ": " << ec.message() << "\n";
210}
211
212// Handles an HTTP server connection
213class session : public std::enable_shared_from_this<session>

Callers 4

on_readMethod · 0.70
on_writeMethod · 0.70
listenerMethod · 0.70
on_acceptMethod · 0.70

Calls 1

messageMethod · 0.80

Tested by

no test coverage detected