diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-31 14:22:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-31 15:38:48 +0200 |
commit | ac50467b8a6d043d758dd49954fc6cf8d88ce134 (patch) | |
tree | 17a884856d85c46071462b109cfec37ae9aa341f /odb/sqlite/exceptions.hxx | |
parent | 6e40bfcd6da09e80d34c5726ae8d485831498d69 (diff) |
Add error code to string returned by what()
Diffstat (limited to 'odb/sqlite/exceptions.hxx')
-rw-r--r-- | odb/sqlite/exceptions.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 |