aboutsummaryrefslogtreecommitdiff
path: root/error_test.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add SystemErrno to Error (#740)rittneje2019-12-171-0/+31
| | | | | | | | * adding SystemErrno to Error, and fixing error logic when open fails * fix for old versions of libsqlite3 that do not have sqlite3_system_errno defined * fixing pre-processor logic
* Add build constraints for non cgoYasuhiro Matsumoto2019-11-181-1/+3
|
* fix error messageYasuhiro Matsumoto2017-11-191-2/+2
|
* handle new error messageYasuhiro Matsumoto2017-11-181-1/+1
|
* fix breaking compatibility.Yasuhiro Matsumoto2017-03-211-4/+4
| | | | | | revert cf4bd560f1588d96c502b4c3407fe1a10cef4a28 close #394
* fix testYasuhiro Matsumoto2017-03-211-3/+3
|
* fix testYasuhiro Matsumoto2017-03-211-1/+1
|
* Add test for ErrNo.Extend()mattn2015-01-261-0/+6
|
* Add one blank line for godocmattn2014-08-181-0/+1
|
* Add license headermattn2014-08-181-0/+4
|
* Enable extended error codes.Christoph Martin2014-04-011-2/+162
|
* Fix testmattn2014-01-291-2/+3
|
* Add test for error == nilmattn2014-01-291-0/+6
|
* Add unit test for enhanced error reportingRobert Knight2013-11-191-1/+26
| | | | | Add a test to check for a useful response for a SQL query that cannot be executed due to a constraint failure
* Update test expectations follow change of concrete error typeRobert Knight2013-11-191-1/+3
|
* Provide more detailed error messagesRobert Knight2013-11-191-1/+1
| | | | | | | | | 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'
* Add testsmattn2013-09-031-0/+3
|
* Start work on introducing machine-readable error codes.Jochen Voss2013-08-301-0/+34
| | | | | | 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".
* Rervert ff8e6729ce0628c3da97bd8e85c636f3645c2516mattn2013-08-141-34/+0
|
* Start work on introducing machine-readable error codes.Jochen Voss2013-08-131-0/+34
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".