thread-master/internal/model/outreach_draft/usecase/errors.go

19 lines
459 B
Go
Raw Normal View History

2026-06-26 08:37:04 +00:00
package usecase
import (
app "haixun-backend/internal/library/errors"
"haixun-backend/internal/library/errors/code"
)
func errMissingActor() error {
return app.For(code.Brand).InputMissingRequired("tenant_id and uid are required")
}
func errMissingBrand() error {
return app.For(code.Brand).InputMissingRequired("brand id is required")
}
func errMissingScanPost() error {
return app.For(code.Brand).InputMissingRequired("scan_post_id is required")
}