Error category for WiFi errors.
More...
|
| 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.
|
| |
Error category for WiFi errors.
Definition at line 664 of file wifi.hpp.
◆ equivalent()
| bool idfxx::wifi::error_category::equivalent |
( |
int |
code, |
|
|
const std::error_condition & |
condition |
|
) |
| const |
|
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.
ec == std::errc::value_too_large
are both true for the same underlying error.
- Parameters
-
| code | The errc value being compared. |
| condition | The condition being compared against. |
- Returns
- True if
code is equivalent to condition.
◆ message()
| std::string idfxx::wifi::error_category::message |
( |
int |
ec | ) |
const |
|
finaloverride |
Returns a human-readable message for the given error code.
◆ name()
| const char * idfxx::wifi::error_category::name |
( |
| ) |
const |
|
finaloverridenoexcept |
Returns the name of the error category.
The documentation for this class was generated from the following file: