Example #1
0
func IsBadPackage(err error) bool {
	return doc.IsNotFound(villa.DeepestNested(err))
}
Example #2
0
func IsBadPackage(err error) bool {
	err = villa.DeepestNested(errorsp.Cause(err))
	return doc.IsNotFound(err) || err == ErrInvalidPackage || err == github.ErrInvalidPackage
}
Example #3
0
func IsBadPackage(err error) bool {
	err = villa.DeepestNested(err)
	return doc.IsNotFound(err) || err == ErrInvalidPackage
}