CppCMS
|
this class represents a category of errors. More...
#include <booster/booster/system_error.h>
Public Member Functions | |
virtual char const * | name () const =0 |
virtual std::string | message (int ev) const =0 |
bool | operator== (error_category const &other) const |
bool | operator!= (error_category const &other) const |
bool | operator< (error_category const &other) const |
this class represents a category of errors.
Technically it allows to convert a numerical error representation to human readable error message.
This class is just an interface that should be implemented for each specific category
|
pure virtual |
Convert the error code representation to the human readable text
Implemented in booster::aio::aio_error::category.
|
pure virtual |
The name of the category
Implemented in booster::aio::aio_error::category.