Rainbond/db/errors/errors.go
2019-08-23 20:33:38 +08:00

11 lines
223 B
Go

package errors
import (
"errors"
)
var (
// ErrRecordAlreadyExist record already exist error, happens when find any matched data when creating with a struct
ErrRecordAlreadyExist = errors.New("record already exist")
)