MCPcopy Create free account
hub / github.com/a2flo/floor / handle_exception

Method handle_exception

net/asio_error_handler.cpp:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65static thread_local asio_error_stack asio_errors;
66
67void asio_error_handler::handle_exception(const exception& exc) {
68 log_error("asio/net error: $", exc.what());
69 asio_errors.add(exc.what());
70}
71
72asio_error_handler::error asio_error_handler::get_error() {
73 if(asio_errors.empty()) return {};

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected