libdballe
9.11
|
Report a MySQL error. More...
#include <mysql.h>
Public Member Functions | |
error_mysql (MYSQL *db, const std::string &msg) | |
error_mysql (const std::string &dbmsg, const std::string &msg) | |
const char * | what () const noexcept override |
![]() | |
wreport::ErrorCode | code () const noexcept override |
Static Public Member Functions | |
static void | throwf (MYSQL *db, const char *fmt,...) WREPORT_THROWF_ATTRS(2 |
![]() | |
static const char * | strerror (wreport::ErrorCode code) |
String description for an error code. More... | |
![]() | |
static const char * | strerror (ErrorCode code) |
Public Attributes | |
std::string | msg |
Report a MySQL error.