On 4 Jun 2018, at 7:15pm, Igor Korot <[email protected]> wrote:
> Is my assumption correct that sqlite3_errcode() returning 0, indicate
> there was no error?
Correct. It might return
0 (SQLITE_OK == "no error")
1 to 99 (primary error code)
100 (SQLITE_ROW == "here's a row of data you asked for")
101 (SQLITE_DONE == "no more rows")
200 upward (extended error code)
There are a few codes which are hard to categorise (e.g. SQLITE_ABORT) but
that's pretty-much it.
There aren't any ranges apart from the above. So there's no way to look at the
range of the code and tell whether the error was temporary (e.g. a lock) or
permanent; or by parameter or content; or hardware or corruption, unless you
look at the exact number.
Simon.
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users