Re: [asio-users] asio and good error handling
Brought to you by:
chris_kohlhoff
From: Bjorn R. <br...@ma...> - 2018-12-28 18:25:54
|
On 12/28/18 5:40 PM, Vinnie Falco wrote: > 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 :) Do you find my quote above cryptic? |