From 1de41f64f2d75a7fb72579e576e23c9c66c6d8fe Mon Sep 17 00:00:00 2001 From: Daenney Date: Mon, 8 Jul 2024 22:03:00 +0200 Subject: [chore] Bump ncruces/go-sqlite3 to 0.17.1 (#3085) More linkanme fixes. --- vendor/github.com/ncruces/go-sqlite3/internal/util/error.go | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'vendor/github.com/ncruces/go-sqlite3/internal/util/error.go') diff --git a/vendor/github.com/ncruces/go-sqlite3/internal/util/error.go b/vendor/github.com/ncruces/go-sqlite3/internal/util/error.go index 1f5555fd3..2aecac96e 100644 --- a/vendor/github.com/ncruces/go-sqlite3/internal/util/error.go +++ b/vendor/github.com/ncruces/go-sqlite3/internal/util/error.go @@ -104,3 +104,13 @@ func ErrorCodeString(rc uint32) string { } return "sqlite3: unknown error" } + +type ErrorJoiner []error + +func (j *ErrorJoiner) Join(errs ...error) { + for _, err := range errs { + if err != nil { + *j = append(*j, err) + } + } +} -- cgit v1.2.3