summaryrefslogtreecommitdiff
path: root/boost/asio/error.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/asio/error.hpp')
-rw-r--r--boost/asio/error.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/boost/asio/error.hpp b/boost/asio/error.hpp
index 7bcc00f9be..4252c15b9c 100644
--- a/boost/asio/error.hpp
+++ b/boost/asio/error.hpp
@@ -2,7 +2,7 @@
// error.hpp
// ~~~~~~~~~
//
-// Copyright (c) 2003-2014 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -148,6 +148,11 @@ enum basic_errors
/// Protocol not available.
no_protocol_option = BOOST_ASIO_SOCKET_ERROR(ENOPROTOOPT),
+ /// No such device.
+ no_such_device = BOOST_ASIO_WIN_OR_POSIX(
+ BOOST_ASIO_NATIVE_ERROR(ERROR_BAD_UNIT),
+ BOOST_ASIO_NATIVE_ERROR(ENODEV)),
+
/// Transport endpoint is not connected.
not_connected = BOOST_ASIO_SOCKET_ERROR(ENOTCONN),