goop/internal/utils/errors.go

10 lines
191 B
Go

package utils
var ignoredErrors = []string{
"too many redirects detected when doing the request",
}
func IgnoreError(err error) bool {
return StringsContain(ignoredErrors, err.Error())
}