File indexing completed on 2025-01-18 09:29:22
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_BEAST_TEST_IMPL_ERROR_HPP
0011 #define BOOST_BEAST_TEST_IMPL_ERROR_HPP
0012
0013 #include <boost/beast/core/error.hpp>
0014 #include <boost/beast/core/string.hpp>
0015 #include <type_traits>
0016
0017 namespace boost {
0018 namespace system {
0019 template<>
0020 struct is_error_code_enum<
0021 boost::beast::test::error>
0022 : std::true_type
0023 {
0024 };
0025 }
0026 }
0027
0028 namespace boost {
0029 namespace beast {
0030 namespace test {
0031
0032 BOOST_BEAST_DECL
0033 error_code
0034 make_error_code(error e) noexcept;
0035
0036 }
0037 }
0038 }
0039
0040 #endif