gorm/errors.go

11 lines
251 B
Go
Raw Normal View History

2013-11-15 14:36:39 +04:00
package gorm
import "errors"
var (
2013-11-16 07:36:30 +04:00
RecordNotFound = errors.New("Record Not Found")
InvalidSql = errors.New("Invalid SQL")
NoNewAttrs = errors.New("No new Attributes")
NoValidTransaction = errors.New("No valid transaction")
2013-11-15 14:36:39 +04:00
)