Report an error when parsing informations.
More...
#include <error.h>
|
| error_parse (const char *file, int line, const std::string &msg) |
|
| StringBase (const std::string &msg) noexcept |
|
ErrorCode | code () const noexcept override |
| Exception-specific error code.
|
|
const char * | what () const noexcept override |
| Error message.
|
|
|
static void | throwf (const char *file, int line, const char *fmt,...) WREPORT_THROWF_ATTRS(3 |
| Throw the exception, building the message printf-style.
|
|
static const char * | strerror (ErrorCode code) |
| String description for an error code.
|
|
|
std::string | msg |
| error message returned by what()
|
|
Report an error when parsing informations.
◆ error_parse()
wreport::error_parse::error_parse |
( |
const char * |
file, |
|
|
int |
line, |
|
|
const std::string & |
msg |
|
) |
| |
- Parameters
-
file | The file that is being parsed |
line | The line of the file where the problem has been found |
msg | The error message |
The documentation for this class was generated from the following file: