model/errors.go
2022-08-04 15:44:33 +02:00

10 lines
373 B
Go

package model
import "git.milar.in/milarin/adverr"
var (
ErrFeatureAlreadyCreated = adverr.NewErrTmpl("ErrFeatureAlreadyCreated", "duplicate feature: '%s'")
ErrFeatureWithoutValue = adverr.NewErrTmpl("ErrFeatureWithoutValue", "feature needs a value: '%s'")
ErrInvalidFeatureValue = adverr.NewErrTmpl("ErrInvalidFeatureValue", "feature needs a value of type %s")
)