aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/exceptions.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mysql/exceptions.hxx')
-rw-r--r--odb/mysql/exceptions.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/mysql/exceptions.hxx b/odb/mysql/exceptions.hxx
index f9d3730..3902236 100644
--- a/odb/mysql/exceptions.hxx
+++ b/odb/mysql/exceptions.hxx
@@ -62,6 +62,18 @@ namespace odb
std::string message_;
std::string what_;
};
+
+ struct LIBODB_MYSQL_EXPORT cli_exception: odb::exception
+ {
+ cli_exception (const std::string& what);
+ ~cli_exception () throw ();
+
+ virtual const char*
+ what () const throw ();
+
+ private:;
+ std::string what_;
+ };
}
}