app-cloudep-member-server/internal/model/mongo/error.go

13 lines
185 B
Go
Raw Normal View History

package model
import (
"errors"
"github.com/zeromicro/go-zero/core/stores/mon"
)
var (
ErrNotFound = mon.ErrNotFound
ErrInvalidObjectId = errors.New("invalid objectId")
)