haixunMaster/haixun-backend/internal/model/scan_post/usecase/errors.go

15 lines
345 B
Go

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")
}