idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
Error Handling

Error codes and category for idfxx_net. More...

Namespaces

namespace  idfxx
 
namespace  idfxx::net
 

Detailed Description

Error codes and category for idfxx_net.

The category's default_error_condition() member maps each errc value to its standard std::errc synonym (operation_would_block, timed_out, connection_refused, …), so callers can compare error codes against either the domain-specific errc values or the portable POSIX names. The mapping is symmetric, so it also canonicalizes near-duplicate codes — the socket-path connection_reset and the netconn-path netconn_reset share one condition.