15 lines
345 B
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")
|
||
|
|
}
|