Clementine
receiver_invocation_error.hpp
1 //
2 // execution/receiver_invocation_error.hpp
3 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 //
5 // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 //
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 //
10 
11 #ifndef ASIO_EXECUTION_RECEIVER_INVOCATION_ERROR_HPP
12 #define ASIO_EXECUTION_RECEIVER_INVOCATION_ERROR_HPP
13 
14 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 # pragma once
16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 
18 #include "asio/detail/config.hpp"
19 #include <stdexcept>
20 
21 #include "asio/detail/push_options.hpp"
22 
23 namespace asio {
24 namespace execution {
25 
29  : public std::runtime_error
30 #if defined(ASIO_HAS_STD_NESTED_EXCEPTION)
31  , public std::nested_exception
32 #endif // defined(ASIO_HAS_STD_NESTED_EXCEPTION)
33 {
34 public:
36  ASIO_DECL receiver_invocation_error();
37 };
38 
39 } // namespace execution
40 } // namespace asio
41 
42 #include "asio/detail/pop_options.hpp"
43 
44 #if defined(ASIO_HEADER_ONLY)
45 # include "asio/execution/impl/receiver_invocation_error.ipp"
46 #endif // defined(ASIO_HEADER_ONLY)
47 
48 #endif // ASIO_EXECUTION_RECEIVER_INVOCATION_ERROR_HPP
ASIO_DECL receiver_invocation_error()
Constructor.
Definition: receiver_invocation_error.ipp:26
Definition: handler_work.hpp:37
Exception reported via set_error when an exception escapes from set_value.
Definition: receiver_invocation_error.hpp:28
Definition: any_io_executor.hpp:28