The lightweight object that carries a error code information and its category.
More...
#include <booster/booster/system_error.h>
The lightweight object that carries a error code information and its category.
It is a pair: an integer code and a reference to the error_category object.
booster::system::error_code::error_code |
( |
| ) |
|
|
inline |
Create an empty error object - no error
booster::system::error_code::error_code |
( |
int |
val, |
|
|
error_category const & |
cat |
|
) |
| |
|
inline |
Create a error object withing specific category cat with code val
std::string booster::system::error_code::message |
( |
| ) |
const |
|
inline |
Convert the error code to the human readable string
booster::system::error_code::operator bool |
( |
| ) |
const |
|
inline |
Convert to bool - returns true of it is a error and false if it is not (value()==0)
int booster::system::error_code::value |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: