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

Function fail

example/http/client/async/http_client_async.cpp:34–38  ·  view source on GitHub ↗

Report a failure

Source from the content-addressed store, hash-verified

32
33// Report a failure
34void
35fail(beast::error_code ec, char const* what)
36{
37 std::cerr << what << ": " << ec.message() << "\n";
38}
39
40// Performs an HTTP GET and prints the response
41class session : public std::enable_shared_from_this<session>

Callers 4

on_resolveMethod · 0.70
on_connectMethod · 0.70
on_writeMethod · 0.70
on_readMethod · 0.70

Calls 1

messageMethod · 0.80

Tested by

no test coverage detected