diff --git a/errors.go b/errors.go index 75ea81e..69573a0 100644 --- a/errors.go +++ b/errors.go @@ -396,9 +396,3 @@ func As(err error, target interface{}) bool { func Is(err error, target error) bool { return goerrors.Is(err, target) } - -// Is finds the first error in err's chain that matches target, -// and if so, sets target to that error value and returns true. Otherwise, it returns false. -func Is(err error, target interface{}) bool { - return errors.Is(err, target) -}