22 lines
700 B
Go
22 lines
700 B
Go
package product
|
||
|
||
import "errors"
|
||
|
||
// UI组件相关错误定义
|
||
var (
|
||
// ErrComponentNotFound UI组件不存在
|
||
ErrComponentNotFound = errors.New("UI组件不存在")
|
||
|
||
// ErrComponentCodeAlreadyExists UI组件编码已存在
|
||
ErrComponentCodeAlreadyExists = errors.New("UI组件编码已存在")
|
||
|
||
// ErrComponentFileNotFound UI组件文件不存在
|
||
ErrComponentFileNotFound = errors.New("UI组件文件不存在")
|
||
|
||
// ErrInvalidFileType 无效的文件类型
|
||
ErrInvalidFileType = errors.New("无效的文件类型,仅支持ZIP文件")
|
||
|
||
// ErrProductComponentRelationNotFound 产品UI组件关联不存在
|
||
ErrProductComponentRelationNotFound = errors.New("产品UI组件关联不存在")
|
||
)
|