|
idfxx 1.0.0
Modern C++23 components for ESP-IDF
|
Error category for WiFi errors. More...
Public Member Functions | |
| 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. | |
| bool | equivalent (int code, const std::error_condition &condition) const noexcept override final |
Tests whether an errc value is equivalent to a standard condition. | |
|
finaloverridenoexcept |
Tests whether an errc value is equivalent to a standard condition.
Allows callers to compare a WiFi error code against either the domain-specific errc value or the portable std::errc synonym, e.g.
are both true for the same underlying error.
| code | The errc value being compared. |
| condition | The condition being compared against. |
code is equivalent to condition.
|
finaloverride |
Returns a human-readable message for the given error code.
Returns the name of the error category.