Commit Graph

8 Commits

Author SHA1 Message Date
Shuhao Wu f4a65d9497 Added an IsDone method for backup 2014-07-10 16:23:05 -04:00
Christoph Martin 6ec1687716 Fix ErrNoticeRecoverWAL variable name. 2014-04-01 18:09:00 +02:00
Christoph Martin f395aa170e Enable extended error codes. 2014-04-01 14:01:19 +02:00
Eric L. Frederich fdaaa1381b Remove compiler error
I got an error "function ends without a return statement" on go1.0.2
2013-11-30 22:40:21 -05:00
Robert Knight 19cb26da92 Provide more detailed error messages
Use the sqlite3_errmsg() API to retrieve more specific error
messages.

eg. Attempting to exec 'CREATE TABLE ExistingTableName (...)'
will now report 'table already exists: ExistingTableName' rather
than 'SQL logic error or missing database'
2013-11-19 09:13:19 +00:00
Jochen Voss 2d6a60e2f5 Start work on introducing machine-readable error codes.
This commit introduces a new type 'ErrNo', implementing the error
interface.  Constants for all sqlite3 error codes are provided
in the new source file "error.go".
2013-08-30 22:35:32 +09:00
mattn 34a33cffaa Rervert ff8e6729ce 2013-08-14 12:07:38 +09:00
Jochen Voss ff8e6729ce Start work on introducing machine-readable error codes.
This commit introduces a new type 'ErrNo', implementing the error
interface.  Constants for all sqlite3 error codes are provided
in the new source file "error.go".
2013-08-13 21:45:05 +09:00