15 lines
252 B
Go
15 lines
252 B
Go
package main
|
|
|
|
type GenericCliAgumentError struct {
|
|
Msg string
|
|
}
|
|
|
|
func (err *GenericCliAgumentError) Error() string {
|
|
return err.Msg
|
|
}
|
|
|
|
type GenericDownloadError struct {}
|
|
|
|
func (err *GenericDownloadError) Error() string {
|
|
return "download failed"
|
|
}
|