5 Jun
2017
5 Jun
'17
5:52 p.m.
On 06/05/2017 12:48 PM, Niall Douglas via Boost wrote:
I always wished that ASIO made the const error_code& passed in non-const, and you could set it on return from the handler. You can still throw an exception of course to abort everything, but sometimes you don't want to abort everything. Sometimes you just want to fail.
What kind of errors do you want to return to Asio, and how do you want it to respond to them?