Files
storm/errors.go
Asdine El Hrychy d5439976f3 UniqueIndex service
2016-03-07 23:55:32 +01:00

13 lines
379 B
Go

package storm
import "errors"
// Errors
var (
ErrNoID = errors.New("missing struct tag id or ID field")
ErrZeroID = errors.New("id field must not be a zero value")
ErrBadType = errors.New("provided data must be a struct or a pointer to struct")
ErrAlreadyExists = errors.New("already exists")
ErrNilParam = errors.New("param must not be nil")
)