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

13 lines
185 B
Go
Raw Normal View History

2024-08-28 14:29:42 +00:00
package model
import (
"errors"
"github.com/zeromicro/go-zero/core/stores/mon"
)
var (
ErrNotFound = mon.ErrNotFound
ErrInvalidObjectId = errors.New("invalid objectId")
)