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_IMPL_ERROR_HPP
11#define BOOST_BEAST_IMPL_ERROR_HPP
12
13#include <type_traits>
14
15namespace boost {
16namespace system {
17template<>
18struct is_error_code_enum<::boost::beast::error>
19{
20 static bool const value = true;
21};
22template<>
23struct is_error_condition_enum<::boost::beast::condition>
24{
25 static bool const value = true;
26};
27} // system
28} // boost
29
30namespace boost {
31namespace beast {
32
33BOOST_BEAST_DECL
34error_code
35make_error_code(error e);
36
37BOOST_BEAST_DECL
38error_condition
39make_error_condition(condition c);
40
41} // beast
42} // boost
43
44#endif
45

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