A completion token adapter used to specify that an error produced by an asynchronous operation is captured to an error_code variable.
template< typename CompletionToken> class redirect_error_t
Name |
Description |
---|---|
redirect_error_t [constructor] |
Constructor. |
The redirect_error_t
class is used to indicate that any error_code produced by an asynchronous
operation is captured to a specified variable.
Header: asio/redirect_error.hpp
Convenience header: asio.hpp