From ac50467b8a6d043d758dd49954fc6cf8d88ce134 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 31 Mar 2011 14:22:18 +0200 Subject: Add error code to string returned by what() --- odb/sqlite/exceptions.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'odb/sqlite/exceptions.hxx') diff --git a/odb/sqlite/exceptions.hxx b/odb/sqlite/exceptions.hxx index 5e783a5..cb08e8a 100644 --- a/odb/sqlite/exceptions.hxx +++ b/odb/sqlite/exceptions.hxx @@ -52,6 +52,7 @@ namespace odb int error_; int extended_error_; std::string message_; + std::string what_; }; struct LIBODB_SQLITE_EXPORT cli_exception: odb::exception -- cgit v1.1