aboutsummaryrefslogtreecommitdiff
path: root/error_test.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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".