38#include <system_error>
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.
std::expected< T, std::error_code > result
result type wrapping a value or error code.
const net::error_category & net_category() noexcept
Returns a reference to the idfxx_net error category singleton.