$search

error.hpp File Reference

#include "asio/detail/push_options.hpp"
#include <cerrno>
#include <boost/config.hpp>
#include "asio/detail/pop_options.hpp"
#include "asio/error_code.hpp"
#include "asio/detail/socket_types.hpp"
#include "asio/impl/error_code.ipp"
Include dependency graph for error.hpp:

Go to the source code of this file.

Namespaces

namespace  asio
namespace  asio::error

Defines

#define ASIO_GETADDRINFO_ERROR(e)   e
#define ASIO_NATIVE_ERROR(e)   e
#define ASIO_NETDB_ERROR(e)   e
#define ASIO_SOCKET_ERROR(e)   e
#define ASIO_WIN_OR_POSIX(e_win, e_posix)   e_posix

Enumerations

enum  asio::error::addrinfo_errors { asio::error::service_not_found, asio::error::socket_type_not_supported }
enum  asio::error::basic_errors {
  asio::error::access_denied = ASIO_SOCKET_ERROR(EACCES), asio::error::address_family_not_supported = ASIO_SOCKET_ERROR(EAFNOSUPPORT), asio::error::address_in_use = ASIO_SOCKET_ERROR(EADDRINUSE), asio::error::already_connected = ASIO_SOCKET_ERROR(EISCONN),
  asio::error::already_started = ASIO_SOCKET_ERROR(EALREADY), asio::error::broken_pipe, asio::error::connection_aborted = ASIO_SOCKET_ERROR(ECONNABORTED), asio::error::connection_refused = ASIO_SOCKET_ERROR(ECONNREFUSED),
  asio::error::connection_reset = ASIO_SOCKET_ERROR(ECONNRESET), asio::error::bad_descriptor = ASIO_SOCKET_ERROR(EBADF), asio::error::fault = ASIO_SOCKET_ERROR(EFAULT), asio::error::host_unreachable = ASIO_SOCKET_ERROR(EHOSTUNREACH),
  asio::error::in_progress = ASIO_SOCKET_ERROR(EINPROGRESS), asio::error::interrupted = ASIO_SOCKET_ERROR(EINTR), asio::error::invalid_argument = ASIO_SOCKET_ERROR(EINVAL), asio::error::message_size = ASIO_SOCKET_ERROR(EMSGSIZE),
  asio::error::name_too_long = ASIO_SOCKET_ERROR(ENAMETOOLONG), asio::error::network_down = ASIO_SOCKET_ERROR(ENETDOWN), asio::error::network_reset = ASIO_SOCKET_ERROR(ENETRESET), asio::error::network_unreachable = ASIO_SOCKET_ERROR(ENETUNREACH),
  asio::error::no_descriptors = ASIO_SOCKET_ERROR(EMFILE), asio::error::no_buffer_space = ASIO_SOCKET_ERROR(ENOBUFS), asio::error::no_memory, asio::error::no_permission,
  asio::error::no_protocol_option = ASIO_SOCKET_ERROR(ENOPROTOOPT), asio::error::not_connected = ASIO_SOCKET_ERROR(ENOTCONN), asio::error::not_socket = ASIO_SOCKET_ERROR(ENOTSOCK), asio::error::operation_aborted,
  asio::error::operation_not_supported = ASIO_SOCKET_ERROR(EOPNOTSUPP), asio::error::shut_down = ASIO_SOCKET_ERROR(ESHUTDOWN), asio::error::timed_out = ASIO_SOCKET_ERROR(ETIMEDOUT), asio::error::try_again,
  asio::error::would_block = ASIO_SOCKET_ERROR(EWOULDBLOCK)
}
enum  asio::error::misc_errors { asio::error::already_open = 1, asio::error::eof, asio::error::not_found, asio::error::fd_set_failure }
enum  asio::error::netdb_errors { asio::error::host_not_found = ASIO_NETDB_ERROR(HOST_NOT_FOUND), asio::error::host_not_found_try_again = ASIO_NETDB_ERROR(TRY_AGAIN), asio::error::no_data = ASIO_NETDB_ERROR(NO_DATA), asio::error::no_recovery = ASIO_NETDB_ERROR(NO_RECOVERY) }
enum  asio::error::ssl_errors

Functions

asio::error_code asio::error::make_error_code (ssl_errors e)
asio::error_code asio::error::make_error_code (misc_errors e)
asio::error_code asio::error::make_error_code (addrinfo_errors e)
asio::error_code asio::error::make_error_code (netdb_errors e)
asio::error_code asio::error::make_error_code (basic_errors e)

Define Documentation

#define ASIO_GETADDRINFO_ERROR (  )     e

Definition at line 49 of file error.hpp.

#define ASIO_NATIVE_ERROR (  )     e

Definition at line 46 of file error.hpp.

#define ASIO_NETDB_ERROR (  )     e

Definition at line 48 of file error.hpp.

#define ASIO_SOCKET_ERROR (  )     e

Definition at line 47 of file error.hpp.

#define ASIO_WIN_OR_POSIX ( e_win,
e_posix   )     e_posix

Definition at line 50 of file error.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Mar 1 14:39:58 2013