1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #ifndef BOOST_BEAST_WEBSOCKET_IMPL_ERROR_HPP
- #define BOOST_BEAST_WEBSOCKET_IMPL_ERROR_HPP
- namespace boost {
- namespace system {
- template<>
- struct is_error_code_enum<::boost::beast::websocket::error>
- {
- static bool const value = true;
- };
- template<>
- struct is_error_condition_enum<::boost::beast::websocket::condition>
- {
- static bool const value = true;
- };
- }
- }
- namespace boost {
- namespace beast {
- namespace websocket {
- BOOST_BEAST_DECL
- error_code
- make_error_code(error e);
- BOOST_BEAST_DECL
- error_condition
- make_error_condition(condition c);
- }
- }
- }
- #endif
|