From f268aec98176049136bceb2741f3615841e5c516 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 23 Dec 2015 23:15:18 +0000 Subject: MySQL files prefixed with my- --- libmysqlpp/my-error.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libmysqlpp/my-error.h (limited to 'libmysqlpp/my-error.h') diff --git a/libmysqlpp/my-error.h b/libmysqlpp/my-error.h new file mode 100644 index 0000000..b4f93b2 --- /dev/null +++ b/libmysqlpp/my-error.h @@ -0,0 +1,24 @@ +#ifndef MY_ERROR_H +#define MY_ERROR_H + +#include + +namespace MySQL { + class Error : public DB::Error { + public: + Error(); + Error(const Error &); + Error(const char *); + ~Error() throw(); + + const char * what() const throw(); + + private: + char * msg; + }; + class ConnectionError : public Error, public virtual DB::ConnectionError { + }; +} + +#endif + -- cgit v1.2.3