From cf93b16730e405ac611b7e3571f5fc92682efe7a Mon Sep 17 00:00:00 2001 From: Atreya <44151328+atreya2011@users.noreply.github.com> Date: Mon, 17 May 2021 16:53:48 +0900 Subject: [PATCH] Fix ErrInvalidTransaction error message (#4380) --- errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errors.go b/errors.go index f1f6c137..145614d9 100644 --- a/errors.go +++ b/errors.go @@ -10,7 +10,7 @@ var ( // ErrRecordNotFound record not found error ErrRecordNotFound = logger.ErrRecordNotFound // ErrInvalidTransaction invalid transaction when you are trying to `Commit` or `Rollback` - ErrInvalidTransaction = errors.New("no valid transaction") + ErrInvalidTransaction = errors.New("invalid transaction") // ErrNotImplemented not implemented ErrNotImplemented = errors.New("not implemented") // ErrMissingWhereClause missing where clause