Files
51dj_server/web/service/adser/error.go
T
2026-10-08 16:50:13 +08:00

30 lines
431 B
Go

package adser
type ErrImgURLInvalid struct {
}
func (ErrImgURLInvalid) Error() string {
return "picture url is invalid!"
}
type ErrImgTooBig struct {
}
func (ErrImgTooBig) Error() string {
return "picture is too big!"
}
type ErrImgScale struct {
}
func (ErrImgScale) Error() string {
return "picture cale is invalid!"
}
type ErrImgContent struct {
}
func (ErrImgContent) Error() string {
return "picture is invalid!"
}