We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53900fb commit cf4bd56Copy full SHA for cf4bd56
error.go
@@ -72,7 +72,7 @@ func (err ErrNoExtended) Error() string {
72
}
73
74
// Error return error message.
75
-func (err Error) Error() string {
+func (err *Error) Error() string {
76
if err.err != "" {
77
return err.err
78
sqlite3.go
@@ -399,7 +399,7 @@ func (c *SQLiteConn) AutoCommit() bool {
399
return int(C.sqlite3_get_autocommit(c.db)) != 0
400
401
402
-func (c *SQLiteConn) lastError() Error {
+func (c *SQLiteConn) lastError() *Error {
403
rv := C.sqlite3_errcode(c.db)
404
if rv == C.SQLITE_OK {
405
return nil
0 commit comments