Specialized error category for Eina errors. More...
Public Member Functions | |
const char * | name () const throw () |
Name of the error category. More... | |
bool | equivalent (int code, eina::error_condition const &condition) const throw () |
Check if the given error code is equivalent to the given error condition. More... | |
bool | equivalent (eina::error_code const &code, int condition) const throw () |
Check if the given error code is equivalent to the given error condition. More... | |
std::string | message (int condition) const |
Get the message related with the given error condition. More... | |
Specialized error category for Eina errors.
|
inline |
Name of the error category.
|
inline |
Check if the given error code is equivalent to the given error condition.
code | Integer representing the error code. |
condition | eina::error_condition object. |
true
if code
is equivalent to condition
.
|
inline |
Check if the given error code is equivalent to the given error condition.
code | eina::error_code object. |
condition | Integer representing the error condition. |
true
if code
is equivalent to condition
.
|
inline |
Get the message related with the given error condition.
condition | Eina error condition. |
This member function returns the error message related with the given error condition code.
References eina_error_msg_get().