mirror of https://github.com/go-gorm/gorm.git
Fix ErrInvalidTransaction error message (#4380)
This commit is contained in:
parent
92c3ba9dcc
commit
cf93b16730
|
@ -10,7 +10,7 @@ var (
|
||||||
// ErrRecordNotFound record not found error
|
// ErrRecordNotFound record not found error
|
||||||
ErrRecordNotFound = logger.ErrRecordNotFound
|
ErrRecordNotFound = logger.ErrRecordNotFound
|
||||||
// ErrInvalidTransaction invalid transaction when you are trying to `Commit` or `Rollback`
|
// 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 not implemented
|
||||||
ErrNotImplemented = errors.New("not implemented")
|
ErrNotImplemented = errors.New("not implemented")
|
||||||
// ErrMissingWhereClause missing where clause
|
// ErrMissingWhereClause missing where clause
|
||||||
|
|
Loading…
Reference in New Issue