summaryrefslogtreecommitdiff
path: root/lib/input/mysqlConn.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/input/mysqlConn.h')
-rw-r--r--lib/input/mysqlConn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/input/mysqlConn.h b/lib/input/mysqlConn.h
index db30ff0..d779fd1 100644
--- a/lib/input/mysqlConn.h
+++ b/lib/input/mysqlConn.h
@@ -10,6 +10,11 @@ namespace MyGrate {
class DbValue;
}
namespace MyGrate::Input {
+ class MySQLErr : public std::runtime_error {
+ public:
+ MySQLErr(const std::string & when, MYSQL *);
+ };
+
class MySQLConn : public MYSQL, public DbConn {
public:
static constexpr auto paramMode {ParamMode::QMark};