ゴミ箱
error.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // Official repository: https://github.com/boostorg/beast
8 //
9 
10 #ifndef BOOST_BEAST_ERROR_HPP
11 #define BOOST_BEAST_ERROR_HPP
12 
13 #include <boost/beast/config.hpp>
14 #include <boost/system/error_code.hpp>
15 #include <boost/system/system_error.hpp>
16 
17 namespace boost {
18 namespace beast {
19 
22 
25 
28 
30 #if BOOST_BEAST_DOXYGEN
31 error_category const&
32 generic_category();
33 #else
34 using boost::system::generic_category;
35 #endif
36 
38 #if BOOST_BEAST_DOXYGEN
39 error_category const&
40 system_category();
41 #else
42 using boost::system::system_category;
43 #endif
44 
47 
49 #if BOOST_BEAST_DOXYGEN
50 enum errc{};
51 #else
52 namespace errc = boost::system::errc;
53 #endif
54 
55 } // beast
56 } // boost
57 
58 #endif
Definition: async_result.hpp:20
boost::system::error_condition error_condition
The type of error condition used by the library.
Definition: error.hpp:46
boost::system::error_category error_category
The type of error category used by the library.
Definition: error.hpp:27
boost::system::error_code error_code
The type of error code used by the library.
Definition: error.hpp:21
boost::system::system_error system_error
The type of system error thrown by the library.
Definition: error.hpp:24