#include <error.hpp>

Static Public Attributes | |
| static const asio::error_code | access_denied = ASIO_SOCKET_ERROR(EACCES) |
| Permission denied. | |
| static const asio::error_code | address_family_not_supported |
| Address family not supported by protocol. | |
| static const asio::error_code | address_in_use = ASIO_SOCKET_ERROR(EADDRINUSE) |
| Address already in use. | |
| static const asio::error_code | already_connected = ASIO_SOCKET_ERROR(EISCONN) |
| Transport endpoint is already connected. | |
| static const asio::error_code | already_open = ASIO_MISC_ERROR(1) |
| Already open. | |
| static const asio::error_code | already_started = ASIO_SOCKET_ERROR(EALREADY) |
| Operation already in progress. | |
| static const asio::error_code | connection_aborted = ASIO_SOCKET_ERROR(ECONNABORTED) |
| A connection has been aborted. | |
| static const asio::error_code | connection_refused = ASIO_SOCKET_ERROR(ECONNREFUSED) |
| Connection refused. | |
| static const asio::error_code | connection_reset = ASIO_SOCKET_ERROR(ECONNRESET) |
| Connection reset by peer. | |
| static const asio::error_code | bad_descriptor = ASIO_SOCKET_ERROR(EBADF) |
| Bad file descriptor. | |
| static const asio::error_code | eof = ASIO_MISC_ERROR(2) |
| End of file or stream. | |
| static const asio::error_code | fault = ASIO_SOCKET_ERROR(EFAULT) |
| Bad address. | |
| static const asio::error_code | host_not_found = ASIO_NETDB_ERROR(HOST_NOT_FOUND) |
| Host not found (authoritative). | |
| static const asio::error_code | host_not_found_try_again = ASIO_NETDB_ERROR(TRY_AGAIN) |
| Host not found (non-authoritative). | |
| static const asio::error_code | host_unreachable = ASIO_SOCKET_ERROR(EHOSTUNREACH) |
| No route to host. | |
| static const asio::error_code | in_progress = ASIO_SOCKET_ERROR(EINPROGRESS) |
| Operation now in progress. | |
| static const asio::error_code | interrupted = ASIO_SOCKET_ERROR(EINTR) |
| Interrupted system call. | |
| static const asio::error_code | invalid_argument = ASIO_SOCKET_ERROR(EINVAL) |
| Invalid argument. | |
| static const asio::error_code | message_size = ASIO_SOCKET_ERROR(EMSGSIZE) |
| Message too long. | |
| static const asio::error_code | network_down = ASIO_SOCKET_ERROR(ENETDOWN) |
| Network is down. | |
| static const asio::error_code | network_reset = ASIO_SOCKET_ERROR(ENETRESET) |
| Network dropped connection on reset. | |
| static const asio::error_code | network_unreachable = ASIO_SOCKET_ERROR(ENETUNREACH) |
| Network is unreachable. | |
| static const asio::error_code | no_descriptors = ASIO_SOCKET_ERROR(EMFILE) |
| Too many open files. | |
| static const asio::error_code | no_buffer_space = ASIO_SOCKET_ERROR(ENOBUFS) |
| No buffer space available. | |
| static const asio::error_code | no_data = ASIO_NETDB_ERROR(NO_DATA) |
| The query is valid but does not have associated address data. | |
| static const asio::error_code | no_memory |
| Cannot allocate memory. | |
| static const asio::error_code | no_permission |
| Operation not permitted. | |
| static const asio::error_code | no_protocol_option = ASIO_SOCKET_ERROR(ENOPROTOOPT) |
| Protocol not available. | |
| static const asio::error_code | no_recovery = ASIO_NETDB_ERROR(NO_RECOVERY) |
| A non-recoverable error occurred. | |
| static const asio::error_code | not_connected = ASIO_SOCKET_ERROR(ENOTCONN) |
| Transport endpoint is not connected. | |
| static const asio::error_code | not_found = ASIO_MISC_ERROR(3) |
| Element not found. | |
| static const asio::error_code | not_socket = ASIO_SOCKET_ERROR(ENOTSOCK) |
| Socket operation on non-socket. | |
| static const asio::error_code | operation_aborted |
| Operation cancelled. | |
| static const asio::error_code | operation_not_supported = ASIO_SOCKET_ERROR(EOPNOTSUPP) |
| Operation not supported. | |
| static const asio::error_code | service_not_found |
| The service is not supported for the given socket type. | |
| static const asio::error_code | socket_type_not_supported |
| The socket type is not supported. | |
| static const asio::error_code | shut_down = ASIO_SOCKET_ERROR(ESHUTDOWN) |
| Cannot send after transport endpoint shutdown. | |
| static const asio::error_code | timed_out = ASIO_SOCKET_ERROR(ETIMEDOUT) |
| Connection timed out. | |
| static const asio::error_code | try_again |
| Resource temporarily unavailable. | |
| static const asio::error_code | would_block = ASIO_SOCKET_ERROR(EWOULDBLOCK) |
| The socket is marked non-blocking and the requested operation would block. | |
Private Member Functions | |
| error_base () | |
Definition at line 81 of file error.hpp.
| asio::detail::error_base< T >::error_base | ( | ) | [private] |
const asio::error_code asio::detail::error_base< T >::access_denied = ASIO_SOCKET_ERROR(EACCES) [inline, static] |
const asio::error_code asio::detail::error_base< T >::address_family_not_supported [inline, static] |
Initial value:
ASIO_SOCKET_ERROR( EAFNOSUPPORT)
Definition at line 90 of file error.hpp.
Referenced by asio::detail::socket_ops::inet_ntop(), asio::detail::socket_ops::inet_pton(), asio::ip::address::to_v4(), asio::ip::address::to_v6(), and asio::detail::socket_ops::translate_addrinfo_error().
const asio::error_code asio::detail::error_base< T >::address_in_use = ASIO_SOCKET_ERROR(EADDRINUSE) [inline, static] |
const asio::error_code asio::detail::error_base< T >::already_connected = ASIO_SOCKET_ERROR(EISCONN) [inline, static] |
const asio::error_code asio::detail::error_base< T >::already_open = ASIO_MISC_ERROR(1) [inline, static] |
Already open.
Definition at line 99 of file error.hpp.
Referenced by asio::detail::reactive_socket_service< Protocol, Reactor >::accept(), asio::detail::reactive_socket_service< Protocol, Reactor >::assign(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_accept(), asio::error_code::message(), and asio::detail::reactive_socket_service< Protocol, Reactor >::open().
const asio::error_code asio::detail::error_base< T >::already_started = ASIO_SOCKET_ERROR(EALREADY) [inline, static] |
const asio::error_code asio::detail::error_base< T >::connection_aborted = ASIO_SOCKET_ERROR(ECONNABORTED) [inline, static] |
A connection has been aborted.
Definition at line 105 of file error.hpp.
Referenced by asio::detail::reactive_socket_service< Protocol, Reactor >::accept(), and asio::detail::reactive_socket_service< Protocol, Reactor >::accept_handler< Socket, Handler >::operator()().
const asio::error_code asio::detail::error_base< T >::connection_refused = ASIO_SOCKET_ERROR(ECONNREFUSED) [inline, static] |
const asio::error_code asio::detail::error_base< T >::connection_reset = ASIO_SOCKET_ERROR(ECONNRESET) [inline, static] |
const asio::error_code asio::detail::error_base< T >::bad_descriptor = ASIO_SOCKET_ERROR(EBADF) [inline, static] |
Bad file descriptor.
Definition at line 114 of file error.hpp.
Referenced by asio::detail::reactive_socket_service< Protocol, Reactor >::accept(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_accept(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_connect(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_receive(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_receive_from(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_send(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_send_to(), asio::detail::reactive_socket_service< Protocol, Reactor >::at_mark(), asio::detail::reactive_socket_service< Protocol, Reactor >::available(), asio::detail::reactive_socket_service< Protocol, Reactor >::bind(), asio::detail::reactive_socket_service< Protocol, Reactor >::cancel(), asio::detail::reactive_socket_service< Protocol, Reactor >::connect(), asio::detail::reactive_socket_service< Protocol, Reactor >::get_option(), asio::detail::reactive_socket_service< Protocol, Reactor >::io_control(), asio::detail::reactive_socket_service< Protocol, Reactor >::listen(), asio::detail::reactive_socket_service< Protocol, Reactor >::local_endpoint(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive_from(), asio::detail::reactive_socket_service< Protocol, Reactor >::remote_endpoint(), asio::detail::reactive_socket_service< Protocol, Reactor >::send(), asio::detail::reactive_socket_service< Protocol, Reactor >::send_to(), asio::detail::reactive_socket_service< Protocol, Reactor >::set_option(), and asio::detail::reactive_socket_service< Protocol, Reactor >::shutdown().
const asio::error_code asio::detail::error_base< T >::eof = ASIO_MISC_ERROR(2) [inline, static] |
End of file or stream.
Definition at line 117 of file error.hpp.
Referenced by asio::error_code::message(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive_from_handler< MutableBufferSequence, Handler >::operator()(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive_handler< MutableBufferSequence, Handler >::operator()(), libtorrent::http_tracker_connection::receive(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive_from(), and asio::ssl::detail::openssl_operation< Stream >::start().
const asio::error_code asio::detail::error_base< T >::fault = ASIO_SOCKET_ERROR(EFAULT) [inline, static] |
const asio::error_code asio::detail::error_base< T >::host_not_found = ASIO_NETDB_ERROR(HOST_NOT_FOUND) [inline, static] |
Host not found (authoritative).
Definition at line 123 of file error.hpp.
Referenced by asio::error_code::message(), libtorrent::aux::session_impl::open_listen_port(), asio::basic_socket_streambuf< Protocol, StreamSocketService >::resolve_and_connect(), and asio::detail::socket_ops::translate_addrinfo_error().
const asio::error_code asio::detail::error_base< T >::host_not_found_try_again = ASIO_NETDB_ERROR(TRY_AGAIN) [inline, static] |
Host not found (non-authoritative).
Definition at line 126 of file error.hpp.
Referenced by asio::error_code::message(), and asio::detail::socket_ops::translate_addrinfo_error().
const asio::error_code asio::detail::error_base< T >::host_unreachable = ASIO_SOCKET_ERROR(EHOSTUNREACH) [inline, static] |
const asio::error_code asio::detail::error_base< T >::in_progress = ASIO_SOCKET_ERROR(EINPROGRESS) [inline, static] |
Operation now in progress.
Definition at line 132 of file error.hpp.
Referenced by asio::detail::reactive_socket_service< Protocol, Reactor >::async_connect().
const asio::error_code asio::detail::error_base< T >::interrupted = ASIO_SOCKET_ERROR(EINTR) [inline, static] |
const asio::error_code asio::detail::error_base< T >::invalid_argument = ASIO_SOCKET_ERROR(EINVAL) [inline, static] |
Invalid argument.
Definition at line 138 of file error.hpp.
Referenced by asio::ssl::detail::openssl_context_service::add_verify_path(), asio::detail::reactive_socket_service< Protocol, Reactor >::get_option(), asio::detail::socket_ops::inet_ntop(), asio::detail::socket_ops::inet_pton(), asio::ssl::detail::openssl_context_service::load_verify_file(), asio::stream_socket_service< Protocol >::open(), asio::datagram_socket_service< Protocol >::open(), asio::ip::basic_endpoint< InternetProtocol >::resize(), asio::detail::reactive_socket_service< Protocol, Reactor >::set_option(), asio::detail::socket_ops::translate_addrinfo_error(), asio::ssl::detail::openssl_context_service::use_certificate_chain_file(), asio::ssl::detail::openssl_context_service::use_certificate_file(), asio::ssl::detail::openssl_context_service::use_private_key_file(), asio::ssl::detail::openssl_context_service::use_rsa_private_key_file(), and asio::ssl::detail::openssl_context_service::use_tmp_dh_file().
const asio::error_code asio::detail::error_base< T >::message_size = ASIO_SOCKET_ERROR(EMSGSIZE) [inline, static] |
const asio::error_code asio::detail::error_base< T >::network_down = ASIO_SOCKET_ERROR(ENETDOWN) [inline, static] |
const asio::error_code asio::detail::error_base< T >::network_reset = ASIO_SOCKET_ERROR(ENETRESET) [inline, static] |
const asio::error_code asio::detail::error_base< T >::network_unreachable = ASIO_SOCKET_ERROR(ENETUNREACH) [inline, static] |
const asio::error_code asio::detail::error_base< T >::no_descriptors = ASIO_SOCKET_ERROR(EMFILE) [inline, static] |
const asio::error_code asio::detail::error_base< T >::no_buffer_space = ASIO_SOCKET_ERROR(ENOBUFS) [inline, static] |
const asio::error_code asio::detail::error_base< T >::no_data = ASIO_NETDB_ERROR(NO_DATA) [inline, static] |
The query is valid but does not have associated address data.
Definition at line 159 of file error.hpp.
Referenced by asio::error_code::message().
const asio::error_code asio::detail::error_base< T >::no_memory [inline, static] |
Initial value:
ASIO_WIN_OR_POSIX( ASIO_NATIVE_ERROR(ERROR_OUTOFMEMORY), ASIO_NATIVE_ERROR(ENOMEM))
Definition at line 162 of file error.hpp.
Referenced by asio::detail::socket_ops::translate_addrinfo_error().
const asio::error_code asio::detail::error_base< T >::no_permission [inline, static] |
Initial value:
ASIO_WIN_OR_POSIX( ASIO_NATIVE_ERROR(ERROR_ACCESS_DENIED), ASIO_NATIVE_ERROR(EPERM))
const asio::error_code asio::detail::error_base< T >::no_protocol_option = ASIO_SOCKET_ERROR(ENOPROTOOPT) [inline, static] |
const asio::error_code asio::detail::error_base< T >::no_recovery = ASIO_NETDB_ERROR(NO_RECOVERY) [inline, static] |
A non-recoverable error occurred.
Definition at line 171 of file error.hpp.
Referenced by asio::ssl::detail::openssl_operation< Stream >::async_read_handler(), asio::ssl::detail::openssl_operation< Stream >::do_async_write(), asio::ssl::detail::openssl_operation< Stream >::do_sync_read(), asio::ssl::detail::openssl_operation< Stream >::do_sync_write(), asio::error_code::message(), asio::ssl::detail::openssl_operation< Stream >::start(), and asio::detail::socket_ops::translate_addrinfo_error().
const asio::error_code asio::detail::error_base< T >::not_connected = ASIO_SOCKET_ERROR(ENOTCONN) [inline, static] |
const asio::error_code asio::detail::error_base< T >::not_found = ASIO_MISC_ERROR(3) [inline, static] |
Element not found.
Definition at line 177 of file error.hpp.
Referenced by asio::async_read_until(), asio::error_code::message(), asio::detail::read_until_expr_handler< AsyncReadStream, Allocator, ReadHandler >::operator()(), asio::detail::read_until_delim_string_handler< AsyncReadStream, Allocator, ReadHandler >::operator()(), asio::detail::read_until_delim_handler< AsyncReadStream, Allocator, ReadHandler >::operator()(), and asio::read_until().
const asio::error_code asio::detail::error_base< T >::not_socket = ASIO_SOCKET_ERROR(ENOTSOCK) [inline, static] |
Socket operation on non-socket.
Definition at line 180 of file error.hpp.
Referenced by asio::detail::reactive_socket_service< Protocol, Reactor >::at_mark(), and asio::detail::reactive_socket_service< Protocol, Reactor >::available().
const asio::error_code asio::detail::error_base< T >::operation_aborted [inline, static] |
Initial value:
ASIO_WIN_OR_POSIX( ASIO_NATIVE_ERROR(ERROR_OPERATION_ABORTED), ASIO_NATIVE_ERROR(ECANCELED))
Definition at line 183 of file error.hpp.
Referenced by libtorrent::udp_tracker_connection::announce_response(), asio::detail::timer_queue< Time_Traits >::cancel_timer(), libtorrent::udp_tracker_connection::connect_response(), libtorrent::http_tracker_connection::connected(), asio::detail::reactor_op_queue< int >::dispatch_cancellations(), asio::error_code::message(), libtorrent::udp_tracker_connection::name_lookup(), libtorrent::http_tracker_connection::name_lookup(), libtorrent::dht::dht_tracker::on_receive(), asio::detail::resolver_service< Protocol >::resolve_endpoint_handler< Handler >::operator()(), asio::detail::resolver_service< Protocol >::resolve_query_handler< Handler >::operator()(), libtorrent::http_tracker_connection::receive(), libtorrent::udp_tracker_connection::scrape_response(), and libtorrent::http_tracker_connection::sent().
const asio::error_code asio::detail::error_base< T >::operation_not_supported = ASIO_SOCKET_ERROR(EOPNOTSUPP) [inline, static] |
Operation not supported.
Definition at line 186 of file error.hpp.
Referenced by asio::detail::null_thread::null_thread().
const asio::error_code asio::detail::error_base< T >::service_not_found [inline, static] |
Initial value:
ASIO_WIN_OR_POSIX( ASIO_NATIVE_ERROR(WSATYPE_NOT_FOUND), ASIO_GETADDRINFO_ERROR(EAI_SERVICE))
Definition at line 189 of file error.hpp.
Referenced by asio::error_code::message(), and asio::detail::socket_ops::translate_addrinfo_error().
const asio::error_code asio::detail::error_base< T >::socket_type_not_supported [inline, static] |
Initial value:
ASIO_WIN_OR_POSIX( ASIO_NATIVE_ERROR(WSAESOCKTNOSUPPORT), ASIO_GETADDRINFO_ERROR(EAI_SOCKTYPE))
Definition at line 192 of file error.hpp.
Referenced by asio::error_code::message(), and asio::detail::socket_ops::translate_addrinfo_error().
const asio::error_code asio::detail::error_base< T >::shut_down = ASIO_SOCKET_ERROR(ESHUTDOWN) [inline, static] |
Cannot send after transport endpoint shutdown.
Definition at line 195 of file error.hpp.
Referenced by asio::ssl::detail::openssl_operation< Stream >::start().
const asio::error_code asio::detail::error_base< T >::timed_out = ASIO_SOCKET_ERROR(ETIMEDOUT) [inline, static] |
const asio::error_code asio::detail::error_base< T >::try_again [inline, static] |
Initial value:
ASIO_WIN_OR_POSIX( ASIO_NATIVE_ERROR(ERROR_RETRY), ASIO_NATIVE_ERROR(EAGAIN))
Definition at line 201 of file error.hpp.
Referenced by asio::detail::reactive_socket_service< Protocol, Reactor >::accept(), asio::detail::reactive_socket_service< Protocol, Reactor >::accept_handler< Socket, Handler >::operator()(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive_from_handler< MutableBufferSequence, Handler >::operator()(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive_handler< MutableBufferSequence, Handler >::operator()(), asio::detail::reactive_socket_service< Protocol, Reactor >::send_to_handler< ConstBufferSequence, Handler >::operator()(), asio::detail::reactive_socket_service< Protocol, Reactor >::send_handler< ConstBufferSequence, Handler >::operator()(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive_from(), asio::detail::reactive_socket_service< Protocol, Reactor >::send(), and asio::detail::reactive_socket_service< Protocol, Reactor >::send_to().
const asio::error_code asio::detail::error_base< T >::would_block = ASIO_SOCKET_ERROR(EWOULDBLOCK) [inline, static] |
The socket is marked non-blocking and the requested operation would block.
Definition at line 204 of file error.hpp.
Referenced by asio::detail::reactive_socket_service< Protocol, Reactor >::accept(), asio::detail::reactive_socket_service< Protocol, Reactor >::async_connect(), asio::detail::reactive_socket_service< Protocol, Reactor >::accept_handler< Socket, Handler >::operator()(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive_from_handler< MutableBufferSequence, Handler >::operator()(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive_handler< MutableBufferSequence, Handler >::operator()(), asio::detail::reactive_socket_service< Protocol, Reactor >::send_to_handler< ConstBufferSequence, Handler >::operator()(), asio::detail::reactive_socket_service< Protocol, Reactor >::send_handler< ConstBufferSequence, Handler >::operator()(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive(), asio::detail::reactive_socket_service< Protocol, Reactor >::receive_from(), asio::detail::reactive_socket_service< Protocol, Reactor >::send(), and asio::detail::reactive_socket_service< Protocol, Reactor >::send_to().
1.5.6