mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 09:07:21 +01:00
22 lines
450 B
Go
22 lines
450 B
Go
package main
|
|
|
|
import "github.com/leonelquinteros/gotext"
|
|
|
|
type UnableToFindPkgDestError struct {
|
|
name, pkgDest string
|
|
}
|
|
|
|
func (e *UnableToFindPkgDestError) Error() string {
|
|
return gotext.Get(
|
|
"the PKGDEST for %s is listed by makepkg but does not exist: %s",
|
|
e.name, e.pkgDest)
|
|
}
|
|
|
|
type PkgDestNotInListError struct {
|
|
name string
|
|
}
|
|
|
|
func (e *PkgDestNotInListError) Error() string {
|
|
return gotext.Get("could not find PKGDEST for: %s", e.name)
|
|
}
|