CppCMS
|
This is the object that should be thrown in case of the error. More...
#include <booster/booster/system_error.h>
Public Member Functions | |
system_error (error_code const &e) | |
system_error (error_code const &e, std::string const &message) | |
system_error (error_code const &e, char const *message) | |
system_error (int ev, error_category const &category, char const *message) | |
system_error (int ev, error_category const &category, std::string const &message) | |
system_error (int ev, error_category const &category) | |
error_code const & | code () const |
This is the object that should be thrown in case of the error.
It consists of two parts: the error_code object and the optional error message that would be added to the error code itself.
booster::system::system_error::system_error | ( | error_code const & | e | ) | [inline] |
Create a system error from error_code e
booster::system::system_error::system_error | ( | error_code const & | e, |
std::string const & | message | ||
) | [inline] |
Create a system error from error_code e and additional message
booster::system::system_error::system_error | ( | error_code const & | e, |
char const * | message | ||
) | [inline] |
Create a system error from error_code e and an additional message message
booster::system::system_error::system_error | ( | int | ev, |
error_category const & | category, | ||
char const * | message | ||
) | [inline] |
Create a system error from error_code defined by integer code ev, a error category category and an additional message message
booster::system::system_error::system_error | ( | int | ev, |
error_category const & | category, | ||
std::string const & | message | ||
) | [inline] |
Create a system error from error_code defined by integer code ev, a error category category and an additional message message
booster::system::system_error::system_error | ( | int | ev, |
error_category const & | category | ||
) | [inline] |
Create a system error from error_code defined by integer code ev, a error category category
error_code const& booster::system::system_error::code | ( | ) | const [inline] |
Get the error code for the thrown error