1//
2// Copyright (c) 2016-2019 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_TEST_IMPL_ERROR_HPP
11#define BOOST_BEAST_TEST_IMPL_ERROR_HPP
12
13#include <boost/beast/core/error.hpp>
14#include <boost/beast/core/string.hpp>
15#include <type_traits>
16
17namespace boost {
18namespace system {
19template<>
20struct is_error_code_enum<
21 boost::beast::test::error>
22 : std::true_type
23{
24};
25} // system
26} // boost
27
28namespace boost {
29namespace beast {
30namespace test {
31
32BOOST_BEAST_DECL
33error_code
34make_error_code(error e) noexcept;
35
36} // test
37} // beast
38} // boost
39
40#endif
41

source code of boost/libs/beast/include/boost/beast/_experimental/test/impl/error.hpp