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

13 lines
185 B
Go

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