38#include <system_error>
109 [[nodiscard]]
const char*
name() const noexcept override final;
112 [[nodiscard]] std::
string message(
int ec) const override final;
151namespace
idfxx::net {
177[[nodiscard]] std::error_code errno_to_error_code(
int errno_value)
noexcept;
190[[nodiscard]] std::error_code lwip_err_to_error_code(
int err_t_value)
noexcept;
201[[nodiscard]] std::error_code gai_to_error_code(
int gai)
noexcept;
210struct is_error_code_enum<
idfxx::net::errc> : std::true_type {};
Error category for idfxx_net errors.
std::error_condition default_error_condition(int code) const noexcept override final
Maps an errc value to its canonical portable condition.
const char * name() const noexcept override final
Returns the name of the error category.
std::string message(int ec) const override final
Returns a human-readable message for the given error code.
errc
IP transport error codes.
std::error_code make_error_code(errc e) noexcept
Creates an error code from an idfxx::net::errc value.
const net::error_category & net_category() noexcept
Returns a reference to the idfxx_net error category singleton.