init: hgmj server initial commit
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
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!"
|
||||
}
|
||||
Reference in New Issue
Block a user