aboutsummaryrefslogtreecommitdiff
path: root/error_test.go (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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 reporting•••Add a test to check for a useful response for a SQL query that cannot be executed due to a constraint failure Robert Knight2013-11-191-1/+26
* Update test expectations follow change of concrete error typeRobert Knight2013-11-191-1/+3
* 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' Robert Knight2013-11-191-1/+1
* Add testsmattn2013-09-031-0/+3
* 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". Jochen Voss2013-08-301-0/+34
* Rervert ff8e6729ce0628c3da97bd8e85c636f3645c2516mattn2013-08-141-34/+0
* 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". Jochen Voss2013-08-131-0/+34