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

Method get_error

net/asio_error_handler.cpp:72–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72asio_error_handler::error asio_error_handler::get_error() {
73 if(asio_errors.empty()) return {};
74 return asio_errors.pop();
75}
76
77asio_error_handler::error asio_error_handler::peek_error() {
78 return asio_errors.peek();

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected