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

13 lines
185 B
Go
Raw Normal View History

2024-10-06 07:02:30 +00:00
package model
import (
"errors"
"github.com/zeromicro/go-zero/core/stores/mon"
)
var (
ErrNotFound = mon.ErrNotFound
ErrInvalidObjectId = errors.New("invalid objectId")
)