asio 0.3.8rc3 Home | Reference | Tutorial | Examples | Design
Reference Class Hierarchy | Class Index | Member Index

asio::error Class Reference

Inheritance diagram for asio::error:

Inheritance graph

List of all members.


Detailed Description

Contains error constants.

Static Public Attributes

static const asio::error_code access_denied = implementation_defined
 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 = implementation_defined
 Address already in use.
static const asio::error_code already_connected = implementation_defined
 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 = implementation_defined
 Operation already in progress.
static const asio::error_code connection_aborted = implementation_defined
 A connection has been aborted.
static const asio::error_code connection_refused = implementation_defined
 Connection refused.
static const asio::error_code connection_reset = implementation_defined
 Connection reset by peer.
static const asio::error_code bad_descriptor = implementation_defined
 Bad file descriptor.
static const asio::error_code eof = ASIO_MISC_ERROR(2)
 End of file or stream.
static const asio::error_code fault = implementation_defined
 Bad address.
static const asio::error_code host_not_found = implementation_defined
 Host not found (authoritative).
static const asio::error_code host_not_found_try_again = implementation_defined
 Host not found (non-authoritative).
static const asio::error_code host_unreachable = implementation_defined
 No route to host.
static const asio::error_code in_progress = implementation_defined
 Operation now in progress.
static const asio::error_code interrupted = implementation_defined
 Interrupted system call.
static const asio::error_code invalid_argument = implementation_defined
 Invalid argument.
static const asio::error_code message_size = implementation_defined
 Message too long.
static const asio::error_code network_down = implementation_defined
 Network is down.
static const asio::error_code network_reset = implementation_defined
 Network dropped connection on reset.
static const asio::error_code network_unreachable = implementation_defined
 Network is unreachable.
static const asio::error_code no_descriptors = implementation_defined
 Too many open files.
static const asio::error_code no_buffer_space = implementation_defined
 No buffer space available.
static const asio::error_code no_data = implementation_defined
 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 = implementation_defined
 Protocol not available.
static const asio::error_code no_recovery = implementation_defined
 A non-recoverable error occurred.
static const asio::error_code not_connected = implementation_defined
 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 = implementation_defined
 Socket operation on non-socket.
static const asio::error_code operation_aborted
 Operation cancelled.
static const asio::error_code operation_not_supported = implementation_defined
 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 = implementation_defined
 Cannot send after transport endpoint shutdown.
static const asio::error_code timed_out = implementation_defined
 Connection timed out.
static const asio::error_code try_again
 Resource temporarily unavailable.
static const asio::error_code would_block = implementation_defined
 The socket is marked non-blocking and the requested operation would block.

Member Data Documentation

template<typename T>
const asio::error_code asio::detail::error_base< T >::access_denied = implementation_defined [static, inherited]

Permission denied.

template<typename T>
const asio::error_code asio::detail::error_base< T >::address_family_not_supported [static, inherited]

Initial value:

 
implementation_defined
Address family not supported by protocol.

template<typename T>
const asio::error_code asio::detail::error_base< T >::address_in_use = implementation_defined [static, inherited]

Address already in use.

template<typename T>
const asio::error_code asio::detail::error_base< T >::already_connected = implementation_defined [static, inherited]

Transport endpoint is already connected.

template<typename T>
const asio::error_code asio::detail::error_base< T >::already_open = ASIO_MISC_ERROR(1) [static, inherited]

Already open.

template<typename T>
const asio::error_code asio::detail::error_base< T >::already_started = implementation_defined [static, inherited]

Operation already in progress.

template<typename T>
const asio::error_code asio::detail::error_base< T >::connection_aborted = implementation_defined [static, inherited]

A connection has been aborted.

template<typename T>
const asio::error_code asio::detail::error_base< T >::connection_refused = implementation_defined [static, inherited]

Connection refused.

template<typename T>
const asio::error_code asio::detail::error_base< T >::connection_reset = implementation_defined [static, inherited]

Connection reset by peer.

template<typename T>
const asio::error_code asio::detail::error_base< T >::bad_descriptor = implementation_defined [static, inherited]

Bad file descriptor.

template<typename T>
const asio::error_code asio::detail::error_base< T >::eof = ASIO_MISC_ERROR(2) [static, inherited]

End of file or stream.

template<typename T>
const asio::error_code asio::detail::error_base< T >::fault = implementation_defined [static, inherited]

Bad address.

template<typename T>
const asio::error_code asio::detail::error_base< T >::host_not_found = implementation_defined [static, inherited]

Host not found (authoritative).

template<typename T>
const asio::error_code asio::detail::error_base< T >::host_not_found_try_again = implementation_defined [static, inherited]

Host not found (non-authoritative).

template<typename T>
const asio::error_code asio::detail::error_base< T >::host_unreachable = implementation_defined [static, inherited]

No route to host.

template<typename T>
const asio::error_code asio::detail::error_base< T >::in_progress = implementation_defined [static, inherited]

Operation now in progress.

template<typename T>
const asio::error_code asio::detail::error_base< T >::interrupted = implementation_defined [static, inherited]

Interrupted system call.

template<typename T>
const asio::error_code asio::detail::error_base< T >::invalid_argument = implementation_defined [static, inherited]

Invalid argument.

template<typename T>
const asio::error_code asio::detail::error_base< T >::message_size = implementation_defined [static, inherited]

Message too long.

template<typename T>
const asio::error_code asio::detail::error_base< T >::network_down = implementation_defined [static, inherited]

Network is down.

template<typename T>
const asio::error_code asio::detail::error_base< T >::network_reset = implementation_defined [static, inherited]

Network dropped connection on reset.

template<typename T>
const asio::error_code asio::detail::error_base< T >::network_unreachable = implementation_defined [static, inherited]

Network is unreachable.

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_descriptors = implementation_defined [static, inherited]

Too many open files.

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_buffer_space = implementation_defined [static, inherited]

No buffer space available.

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_data = implementation_defined [static, inherited]

The query is valid but does not have associated address data.

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_memory [static, inherited]

Initial value:

 ASIO_WIN_OR_POSIX(
    ASIO_NATIVE_ERROR(ERROR_OUTOFMEMORY),
    ASIO_NATIVE_ERROR(ENOMEM))
Cannot allocate memory.

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_permission [static, inherited]

Initial value:

 ASIO_WIN_OR_POSIX(
    ASIO_NATIVE_ERROR(ERROR_ACCESS_DENIED),
    ASIO_NATIVE_ERROR(EPERM))
Operation not permitted.

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_protocol_option = implementation_defined [static, inherited]

Protocol not available.

template<typename T>
const asio::error_code asio::detail::error_base< T >::no_recovery = implementation_defined [static, inherited]

A non-recoverable error occurred.

template<typename T>
const asio::error_code asio::detail::error_base< T >::not_connected = implementation_defined [static, inherited]

Transport endpoint is not connected.

template<typename T>
const asio::error_code asio::detail::error_base< T >::not_found = ASIO_MISC_ERROR(3) [static, inherited]

Element not found.

template<typename T>
const asio::error_code asio::detail::error_base< T >::not_socket = implementation_defined [static, inherited]

Socket operation on non-socket.

template<typename T>
const asio::error_code asio::detail::error_base< T >::operation_aborted [static, inherited]

Initial value:

 ASIO_WIN_OR_POSIX(
    ASIO_NATIVE_ERROR(ERROR_OPERATION_ABORTED),
    ASIO_NATIVE_ERROR(ECANCELED))
Operation cancelled.

template<typename T>
const asio::error_code asio::detail::error_base< T >::operation_not_supported = implementation_defined [static, inherited]

Operation not supported.

template<typename T>
const asio::error_code asio::detail::error_base< T >::service_not_found [static, inherited]

Initial value:

 ASIO_WIN_OR_POSIX(
    ASIO_NATIVE_ERROR(WSATYPE_NOT_FOUND),
    ASIO_GETADDRINFO_ERROR(EAI_SERVICE))
The service is not supported for the given socket type.

template<typename T>
const asio::error_code asio::detail::error_base< T >::socket_type_not_supported [static, inherited]

Initial value:

 ASIO_WIN_OR_POSIX(
    ASIO_NATIVE_ERROR(WSAESOCKTNOSUPPORT),
    ASIO_GETADDRINFO_ERROR(EAI_SOCKTYPE))
The socket type is not supported.

template<typename T>
const asio::error_code asio::detail::error_base< T >::shut_down = implementation_defined [static, inherited]

Cannot send after transport endpoint shutdown.

template<typename T>
const asio::error_code asio::detail::error_base< T >::timed_out = implementation_defined [static, inherited]

Connection timed out.

template<typename T>
const asio::error_code asio::detail::error_base< T >::try_again [static, inherited]

Initial value:

 ASIO_WIN_OR_POSIX(
    ASIO_NATIVE_ERROR(ERROR_RETRY),
    ASIO_NATIVE_ERROR(EAGAIN))
Resource temporarily unavailable.

template<typename T>
const asio::error_code asio::detail::error_base< T >::would_block = implementation_defined [static, inherited]

The socket is marked non-blocking and the requested operation would block.

asio 0.3.8rc3 Home | Reference | Tutorial | Examples | Design