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".
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// +build !windows
|
||||
|
||||
package sqlite
|
||||
package sqlite3
|
||||
|
||||
/*
|
||||
#cgo pkg-config: sqlite3
|
||||
|
||||
Reference in New Issue
Block a user