Files
yoink-go/comic/error.go
2024-08-26 22:49:26 -04:00

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
}