idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
idfxx::task::error_category Class Reference

Error category for task errors. More...

Inheritance diagram for idfxx::task::error_category:

Public Member Functions

const charname () 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.
 

Detailed Description

Error category for task errors.

Definition at line 76 of file task.hpp.

Member Function Documentation

◆ equivalent()

bool idfxx::task::error_category::equivalent ( int  code,
const std::error_condition &  condition 
) const
finaloverridenoexcept

Tests whether an errc value is equivalent to a standard condition.

Parameters
codeThe errc value being compared.
conditionThe condition being compared against.
Returns
True if code is equivalent to condition.

◆ message()

std::string idfxx::task::error_category::message ( int  ec) const
finaloverride

Returns a human-readable message for the given error code.

◆ name()

const char * idfxx::task::error_category::name ( ) const
finaloverridenoexcept

Returns the name of the error category.


The documentation for this class was generated from the following file: