10 lines
181 B
Go
10 lines
181 B
Go
|
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)
|
||
|
}
|