gorm/errors.go

12 lines
321 B
Go
Raw Normal View History

2013-11-15 14:36:39 +04:00
package gorm
import "errors"
var (
2015-02-17 03:34:01 +03:00
RecordNotFound = errors.New("record not found")
InvalidSql = errors.New("invalid sql")
NoNewAttrs = errors.New("no new attributes")
NoValidTransaction = errors.New("no valid transaction")
CantStartTransaction = errors.New("can't start transaction")
2013-11-15 14:36:39 +04:00
)