|
libwreport
3.29
|
Report an error when parsing informations. More...
#include <error.h>
Public Member Functions | |
| error_parse (const char *file, int line, const std::string &msg) | |
Public Member Functions inherited from wreport::errors::StringBase< WR_ERR_PARSE > | |
| StringBase (const std::string &msg) noexcept | |
| ErrorCode | code () const noexcept override |
| Exception-specific error code. More... | |
| const char * | what () const noexcept override |
| Error message. | |
Public Member Functions inherited from wreport::error | |
| virtual ErrorCode | code () const noexcept=0 |
| Exception-specific error code. More... | |
| virtual const char * | what () const noexcept=0 |
| Error message. | |
Static Public Member Functions | |
| static void | throwf (const char *file, int line, const char *fmt,...) WREPORT_THROWF_ATTRS(3 |
| Throw the exception, building the message printf-style. | |
Static Public Member Functions inherited from wreport::error | |
| static const char * | strerror (ErrorCode code) |
| String description for an error code. | |
Additional Inherited Members | |
Data Fields inherited from wreport::errors::StringBase< WR_ERR_PARSE > | |
| std::string | msg |
| error message returned by what() | |
Report an error when parsing informations.
| wreport::error_parse::error_parse | ( | const char * | file, |
| int | line, | ||
| const std::string & | msg | ||
| ) |
| file | The file that is being parsed |
| line | The line of the file where the problem has been found |
| msg | The error message |