diff --git a/errors.go b/errors.go index 8cb0c743..c17f572b 100644 --- a/errors.go +++ b/errors.go @@ -83,7 +83,9 @@ func (errs Errors) Is(target error) bool { } continue } - return errors.Is(err, target) + if errors.Is(err, target) { + return true + } } return false