Boost logo

Boost :

Subject: Re: [boost] LEAF has been refactored, it now has a much simplified error handling interface
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2019-01-23 20:00:04

> I'm trying to evaluate how the LEAF library would work for transporting
> additional information besides error codes when implementing Asio
> asynchronous operations.
> So, my next test is to capture both errors and exceptions together with
> additional info and pass them to the completion handler that will do a
> detailed error analysis.

The canonical way to implement this is to customise ASIO's async_result
to pass additional info. See

As it would be useful for Outcome to document this, I've logged an issue
to to explain how to
customise ASIO's async_result for outcome::result<T>.


Boost list run by bdawes at, gregod at, cpdaniel at, john at