enum | basic_errors {
access_denied = EACCES,
address_family_not_supported = EAFNOSUPPORT,
address_in_use = EADDRINUSE,
already_connected = EISCONN,
already_started = EALREADY,
broken_pipe,
connection_aborted = ECONNABORTED,
connection_refused = ECONNREFUSED,
connection_reset = ECONNRESET,
bad_descriptor = EBADF,
fault = EFAULT,
host_unreachable = EHOSTUNREACH,
in_progress = EINPROGRESS,
interrupted = EINTR,
invalid_argument = EINVAL,
message_size = EMSGSIZE,
name_too_long = ENAMETOOLONG,
network_down = ENETDOWN,
network_reset = ENETRESET,
network_unreachable = ENETUNREACH,
no_descriptors = EMFILE,
no_buffer_space = ENOBUFS,
no_memory,
no_permission,
no_protocol_option = ENOPROTOOPT,
not_connected = ENOTCONN,
not_socket = ENOTSOCK,
operation_aborted,
operation_not_supported = EOPNOTSUPP,
shut_down = ESHUTDOWN,
timed_out = ETIMEDOUT,
try_again,
would_block = EWOULDBLOCK
} |