|
| custom_error (error_type error) |
| The constructor. More...
|
|
template<typename C > |
| custom_error (C const &context, error_type error) |
| The constructor. More...
|
|
template<typename D > |
| custom_error (error_type error, D const &detail) |
| The constructor. More...
|
|
template<typename D , typename E > |
| custom_error (error_type error, D const &detail, E const &detail2) |
| The constructor. More...
|
|
template<typename D , typename E , typename F > |
| custom_error (error_type error, D const &detail, E const &detail2, F const &detail3) |
| The constructor. More...
|
|
template<typename C , typename D > |
| custom_error (C const &context, error_type error, D const &detail) |
| The constructor. More...
|
|
template<typename C , typename D , typename E > |
| custom_error (C const &context, error_type error, D const &detail, E const &detail2) |
| The constructor. More...
|
|
template<typename C , typename D , typename E > |
| custom_error (C const &context1, D const &context2, error_type error, E const &detail) |
| The constructor. More...
|
|
template<typename C , typename D , typename E , typename F > |
| custom_error (C const &context1, D const &context2, error_type error, E const &detail, F const &detail2) |
| The constructor. More...
|
|
| custom_error (const std::runtime_error &error) |
| The constructor. More...
|
|
| custom_error (const error_base &error) |
| The constructor. More...
|
|
template<typename C > |
| custom_error (C const &context, const std::runtime_error &error) |
| The constructor. More...
|
|
template<typename C > |
| custom_error (C const &context, const error_base &error) |
| The constructor. More...
|
|
virtual | ~custom_error () throw () |
| The destructor.
|
|
| error (const std::string &error) |
| The constructor. More...
|
|
| error (const std::string &error, const std::string &reason) |
| The constructor. More...
|
|
virtual | ~error () throw () |
| The destructor.
|
|
template<typename A , typename B , typename C , typename D , typename E , typename F > |
std::string | format_error (A const &context1, B const &context2, C const &context3, error_type error, D const &detail1, E const &detail2, F const &detail3) |
|
template<typename A , typename B , typename C , typename D , typename E , typename F > |
std::string | format_error (A const &context1, B const &context2, C const &context3, const std::runtime_error &error, D const &detail1, E const &detail2, F const &detail3) |
|
template<typename A > |
void | add_detail (boost::format &fmt, A const &value) |
|
template<typename A , typename B , typename C , typename R , typename D , typename E , typename F > |
std::string | format_reason (A const &context1, B const &context2, C const &context3, R const &error, D const &detail1, E const &detail2, F const &detail3) |
|
template<typename A > |
void | add_reason (std::string &reason, A const &value) |
|
virtual | ~error_base () throw () |
| The destructor.
|
|
virtual const char * | why () const throw () |
| Get the reason for the error. More...
|
|
std::string const & | get_reason () const |
| Get the reason for the error. More...
|
|
void | set_reason (const std::string &reason) |
| Set the reason for the error. More...
|
|
|
| error_base (const std::string &error) |
| The constructor. More...
|
|
| error_base (const std::string &error, const std::string &reason) |
| The constructor. More...
|
|
template<typename A , typename B , typename C , typename D , typename E , typename F > |
static std::string | format_error (A const &context1, B const &context2, C const &context3, error_type error, D const &detail1, E const &detail2, F const &detail3) |
| Format an error message. More...
|
|
template<typename A , typename B , typename C , typename D , typename E , typename F > |
static std::string | format_error (A const &context1, B const &context2, C const &context3, const std::runtime_error &error, D const &detail1, E const &detail2, F const &detail3) |
| Format an error message. More...
|
|
template<typename A , typename B , typename C , typename R , typename D , typename E , typename F > |
static std::string | format_reason (A const &context1, B const &context2, C const &context3, R const &error, D const &detail1, E const &detail2, F const &detail3) |
| Format an reason string. More...
|
|
static void | add_detail (boost::format &fmt, const std::nullptr_t &value) |
| Add detail to format string. More...
|
|
template<typename A > |
static void | add_detail (boost::format &fmt, A const &value) |
| Add detail to format string. More...
|
|
template<typename A > |
static void | add_reason (std::string &reason, A const &value) |
| Add reason to reason string. More...
|
|