Hi Rafal,
Rafal Grasman <rjg1094 at gmail.com> writes:
> catch(odb::exception &e)
> {
> if(std::string(e.what()).c_str()[0] == '1')
You can get the SQLite error code in numeric form if you catch
the odb::sqlite::database_exception exception. See the manual
for details.
Boris