From 231bc3fc8d1902bb19b6fce39ffd72cce4b4f2c3 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 12 Jun 2021 20:26:01 +0100 Subject: Avoid direct use of runtime_error in MySQL stuff Adds proper exception which extends it and gets the MySQL error message. --- lib/input/mysqlBindings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/input/mysqlBindings.h') diff --git a/lib/input/mysqlBindings.h b/lib/input/mysqlBindings.h index 569aeb5..84a2d28 100644 --- a/lib/input/mysqlBindings.h +++ b/lib/input/mysqlBindings.h @@ -63,7 +63,7 @@ namespace MyGrate::Input { void operator()(const T &) { - throw std::runtime_error("Not implemented"); + throw std::logic_error("Not implemented"); } std::vector binds; std::vector data; -- cgit v1.2.3