20 lines
270 B
Go
20 lines
270 B
Go
package comic
|
|
|
|
type ImageParseError struct {
|
|
Message string
|
|
Code int
|
|
}
|
|
|
|
type ComicDownloadError struct {
|
|
Message string
|
|
Code int
|
|
}
|
|
|
|
func (i ImageParseError) Error() string {
|
|
return i.Message
|
|
}
|
|
|
|
func (c ComicDownloadError) Error() string {
|
|
return c.Message
|
|
}
|