Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
error_code.hpp File Reference
#include <boost/system/config.hpp>
#include <boost/cstdint.hpp>
#include <boost/assert.hpp>
#include <boost/noncopyable.hpp>
#include <boost/utility/enable_if.hpp>
#include <ostream>
#include <string>
#include <stdexcept>
#include <functional>
#include <boost/cerrno.hpp>
#include <boost/config/abi_prefix.hpp>
#include <boost/config/abi_suffix.hpp>
Include dependency graph for error_code.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::system::is_error_code_enum< T >
 
struct  boost::system::is_error_condition_enum< T >
 
struct  boost::system::is_error_condition_enum< errc::errc_t >
 
class  boost::system::error_category
 
class  boost::system::error_condition
 
class  boost::system::error_code
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::system
 
 boost::system::errc
 
 boost::detail
 

Macros

#define BOOST_SYSTEM_NOEXCEPT   BOOST_NOEXCEPT
 

Enumerations

enum  boost::system::errc::errc_t {
  boost::system::errc::success = 0,
  boost::system::errc::address_family_not_supported = EAFNOSUPPORT,
  boost::system::errc::address_in_use = EADDRINUSE,
  boost::system::errc::address_not_available = EADDRNOTAVAIL,
  boost::system::errc::already_connected = EISCONN,
  boost::system::errc::argument_list_too_long = E2BIG,
  boost::system::errc::argument_out_of_domain = EDOM,
  boost::system::errc::bad_address = EFAULT,
  boost::system::errc::bad_file_descriptor = EBADF,
  boost::system::errc::bad_message = EBADMSG,
  boost::system::errc::broken_pipe = EPIPE,
  boost::system::errc::connection_aborted = ECONNABORTED,
  boost::system::errc::connection_already_in_progress = EALREADY,
  boost::system::errc::connection_refused = ECONNREFUSED,
  boost::system::errc::connection_reset = ECONNRESET,
  boost::system::errc::cross_device_link = EXDEV,
  boost::system::errc::destination_address_required = EDESTADDRREQ,
  boost::system::errc::device_or_resource_busy = EBUSY,
  boost::system::errc::directory_not_empty = ENOTEMPTY,
  boost::system::errc::executable_format_error = ENOEXEC,
  boost::system::errc::file_exists = EEXIST,
  boost::system::errc::file_too_large = EFBIG,
  boost::system::errc::filename_too_long = ENAMETOOLONG,
  boost::system::errc::function_not_supported = ENOSYS,
  boost::system::errc::host_unreachable = EHOSTUNREACH,
  boost::system::errc::identifier_removed = EIDRM,
  boost::system::errc::illegal_byte_sequence = EILSEQ,
  boost::system::errc::inappropriate_io_control_operation = ENOTTY,
  boost::system::errc::interrupted = EINTR,
  boost::system::errc::invalid_argument = EINVAL,
  boost::system::errc::invalid_seek = ESPIPE,
  boost::system::errc::io_error = EIO,
  boost::system::errc::is_a_directory = EISDIR,
  boost::system::errc::message_size = EMSGSIZE,
  boost::system::errc::network_down = ENETDOWN,
  boost::system::errc::network_reset = ENETRESET,
  boost::system::errc::network_unreachable = ENETUNREACH,
  boost::system::errc::no_buffer_space = ENOBUFS,
  boost::system::errc::no_child_process = ECHILD,
  boost::system::errc::no_link = ENOLINK,
  boost::system::errc::no_lock_available = ENOLCK,
  boost::system::errc::no_message_available = ENODATA,
  boost::system::errc::no_message = ENOMSG,
  boost::system::errc::no_protocol_option = ENOPROTOOPT,
  boost::system::errc::no_space_on_device = ENOSPC,
  boost::system::errc::no_stream_resources = ENOSR,
  boost::system::errc::no_such_device_or_address = ENXIO,
  boost::system::errc::no_such_device = ENODEV,
  boost::system::errc::no_such_file_or_directory = ENOENT,
  boost::system::errc::no_such_process = ESRCH,
  boost::system::errc::not_a_directory = ENOTDIR,
  boost::system::errc::not_a_socket = ENOTSOCK,
  boost::system::errc::not_a_stream = ENOSTR,
  boost::system::errc::not_connected = ENOTCONN,
  boost::system::errc::not_enough_memory = ENOMEM,
  boost::system::errc::not_supported = ENOTSUP,
  boost::system::errc::operation_canceled = ECANCELED,
  boost::system::errc::operation_in_progress = EINPROGRESS,
  boost::system::errc::operation_not_permitted = EPERM,
  boost::system::errc::operation_not_supported = EOPNOTSUPP,
  boost::system::errc::operation_would_block = EWOULDBLOCK,
  boost::system::errc::owner_dead = EOWNERDEAD,
  boost::system::errc::permission_denied = EACCES,
  boost::system::errc::protocol_error = EPROTO,
  boost::system::errc::protocol_not_supported = EPROTONOSUPPORT,
  boost::system::errc::read_only_file_system = EROFS,
  boost::system::errc::resource_deadlock_would_occur = EDEADLK,
  boost::system::errc::resource_unavailable_try_again = EAGAIN,
  boost::system::errc::result_out_of_range = ERANGE,
  boost::system::errc::state_not_recoverable = ENOTRECOVERABLE,
  boost::system::errc::stream_timeout = ETIME,
  boost::system::errc::text_file_busy = ETXTBSY,
  boost::system::errc::timed_out = ETIMEDOUT,
  boost::system::errc::too_many_files_open_in_system = ENFILE,
  boost::system::errc::too_many_files_open = EMFILE,
  boost::system::errc::too_many_links = EMLINK,
  boost::system::errc::too_many_symbolic_link_levels = ELOOP,
  boost::system::errc::value_too_large = EOVERFLOW,
  boost::system::errc::wrong_protocol_type = EPROTOTYPE
}
 

Functions

BOOST_SYSTEM_DECL const
error_category & 
boost::system::system_category () BOOST_NOEXCEPT
 
BOOST_SYSTEM_DECL const
error_category & 
boost::system::generic_category () BOOST_NOEXCEPT
 
const error_category & boost::system::get_system_category ()
 
const error_category & boost::system::get_generic_category ()
 
const error_category & boost::system::get_posix_category ()
 
system::error_code * boost::detail::throws ()
 
system::error_code & boost::throws ()
 
bool boost::system::operator!= (const error_code &lhs, const error_code &rhs) BOOST_NOEXCEPT
 
bool boost::system::operator!= (const error_condition &lhs, const error_condition &rhs) BOOST_NOEXCEPT
 
bool boost::system::operator== (const error_code &code, const error_condition &condition) BOOST_NOEXCEPT
 
bool boost::system::operator!= (const error_code &lhs, const error_condition &rhs) BOOST_NOEXCEPT
 
bool boost::system::operator== (const error_condition &condition, const error_code &code) BOOST_NOEXCEPT
 
bool boost::system::operator!= (const error_condition &lhs, const error_code &rhs) BOOST_NOEXCEPT
 
template<class charT , class traits >
std::basic_ostream< charT,
traits > & 
boost::system::operator<< (std::basic_ostream< charT, traits > &os, error_code ec)
 
std::size_t boost::system::hash_value (const error_code &ec)
 
error_code boost::system::errc::make_error_code (errc_t e) BOOST_NOEXCEPT
 
error_condition boost::system::errc::make_error_condition (errc_t e) BOOST_NOEXCEPT
 

Variables

BOOST_SYSTEM_DECL error_code boost::system::throws
 

Macro Definition Documentation

#define BOOST_SYSTEM_NOEXCEPT   BOOST_NOEXCEPT