@@ -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