Re: [asio-users] asio and good error handling
Brought to you by:
chris_kohlhoff
From: Vinnie F. <vin...@gm...> - 2018-12-28 16:40:59
|
On Fri, Dec 28, 2018 at 8:33 AM Bjorn Reese <br...@ma...> wrote: > > understand them). The blog posts and tutorials floating around the web > > can sometimes be a little cryptic with references to "system" errors > > and that sort of nonsense. > > As one of said blog posts succinctly states: > > <quote> > Use std::error_code for error propagation. > Use std::error_code for comparison within a category. > Use std::error_condition for comparison between categories. > </quote> I'm not sure if you are quoting this to support my statement or to provide a counter-example... I'll assume you are supporting my statement that most of the blog posts are cryptic :) |