app-cloudep-trade-service/internal/model/mongo/error.go

13 lines
185 B
Go
Raw Permalink Normal View History

2024-10-25 16:42:58 +00:00
package model
import (
"errors"
"github.com/zeromicro/go-zero/core/stores/mon"
)
var (
ErrNotFound = mon.ErrNotFound
ErrInvalidObjectId = errors.New("invalid objectId")
)