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 5b53687 commit ef6fa5aCopy full SHA for ef6fa5a
blob_io.go
@@ -113,7 +113,7 @@ func (s *SQLiteBlob) Write(b []byte) (n int, err error) {
113
// Seek implements the io.Seeker interface.
114
func (s *SQLiteBlob) Seek(offset int64, whence int) (int64, error) {
115
if offset > math.MaxInt32 {
116
- return 0, errors.New("sqlite3.SQLiteBlob.Seek: invalid position")
+ return 0, fmt.Errorf("sqlite3.SQLiteBlob.Seek: invalid offset %d", offset)
117
}
118
119
var abs int64
0 commit comments