File indexing completed on 2025-01-18 09:29:26
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_BEAST_IMPL_ERROR_HPP
0011 #define BOOST_BEAST_IMPL_ERROR_HPP
0012
0013 #include <type_traits>
0014
0015 namespace boost {
0016 namespace system {
0017 template<>
0018 struct is_error_code_enum<::boost::beast::error>
0019 {
0020 static bool const value = true;
0021 };
0022 template<>
0023 struct is_error_condition_enum<::boost::beast::condition>
0024 {
0025 static bool const value = true;
0026 };
0027 }
0028 }
0029
0030 namespace boost {
0031 namespace beast {
0032
0033 BOOST_BEAST_DECL
0034 error_code
0035 make_error_code(error e);
0036
0037 BOOST_BEAST_DECL
0038 error_condition
0039 make_error_condition(condition c);
0040
0041 }
0042 }
0043
0044 #endif