wheat-cache/pkg/errorx/dao.go

10 lines
181 B
Go
Raw Normal View History

2021-10-05 16:39:31 +08:00
package errorx
func DaoTypeErr(typ string) error {
return New("the type is not: %s", typ)
}
func NotKeyErr(key string) error {
return New("the key is not exist, key:%s", key)
}