idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
error.hpp File Reference

Error codes for the IP transport layer. More...

#include <idfxx/error>
#include <string>
#include <system_error>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  idfxx::net::error_category
 Error category for idfxx_net errors. More...
 

Namespaces

namespace  idfxx
 
namespace  idfxx::net
 

Enumerations

enum class  idfxx::net::errc : esp_err_t {
  idfxx::net::invalid_state = 1 ,
  idfxx::net::invalid_argument = 2 ,
  idfxx::net::not_supported = 3 ,
  idfxx::net::timed_out = 4 ,
  idfxx::net::operation_would_block = 5 ,
  idfxx::net::in_progress = 6 ,
  idfxx::net::interrupted = 7 ,
  idfxx::net::address_in_use = 8 ,
  idfxx::net::address_not_available = 9 ,
  idfxx::net::connection_refused = 10 ,
  idfxx::net::connection_reset = 11 ,
  idfxx::net::connection_aborted = 12 ,
  idfxx::net::not_connected = 13 ,
  idfxx::net::already_connected = 14 ,
  idfxx::net::host_unreachable = 15 ,
  idfxx::net::network_unreachable = 16 ,
  idfxx::net::network_down = 17 ,
  idfxx::net::broken_pipe = 18 ,
  idfxx::net::message_too_long = 19 ,
  idfxx::net::too_many_files_open = 20 ,
  idfxx::net::name_resolution = 21 ,
  idfxx::net::name_not_found = 22 ,
  idfxx::net::name_temporary = 23 ,
  idfxx::net::name_no_data = 24 ,
  idfxx::net::io_error = 25 ,
  idfxx::net::wrong_protocol_type = 26 ,
  idfxx::net::unexpected_eof = 27 ,
  idfxx::net::netconn_buffer_error = 28 ,
  idfxx::net::netconn_routing = 29 ,
  idfxx::net::netconn_illegal_value = 30 ,
  idfxx::net::netconn_aborted = 31 ,
  idfxx::net::netconn_reset = 32 ,
  idfxx::net::netconn_closed = 33 ,
  idfxx::net::no_buffer_space = 34
}
 IP transport error codes. More...
 

Functions

const net::error_categoryidfxx::net_category () noexcept
 Returns a reference to the idfxx_net error category singleton.
 
std::error_code idfxx::net::make_error_code (errc e) noexcept
 Creates an error code from an idfxx::net::errc value.
 

Detailed Description

Error codes for the IP transport layer.

Definition in file error.hpp.