|
libwreport 2.1
|
For functions handling data with multiple types, reports a mismatch between the type requested and the type found. More...
#include <error.h>
Public Member Functions | |
| error_type (const std::string &msg) | |
| ErrorCode | code () const throw () |
| Exception-specific error code. | |
| virtual const char * | what () const throw () |
| Error message. | |
Static Public Member Functions | |
| static void | throwf (const char *fmt,...) WREPORT_THROWF_ATTRS(1 |
| Throw the exception, building the message printf-style. | |
Data Fields | |
| std::string | msg |
| error message returned by what() | |
For functions handling data with multiple types, reports a mismatch between the type requested and the type found.
| wreport::error_type::error_type | ( | const std::string & | msg | ) | [inline] |
| msg | error message |
| ErrorCode wreport::error_type::code | ( | ) | const throw () [inline, virtual] |
Exception-specific error code.
This is useful to map C++ exceptions to C or Fortran error codes
Implements wreport::error.
References wreport::WR_ERR_TYPE.
1.7.4