Wrap error with context (test)
ProprietaryTest recipe that replaces return err with return fmt.Errorf("funcName: %w", err).
org. openrewrite. golang. test. WrapErrorWithContextmod run . --recipe= org. openrewrite. golang. test. WrapErrorWithContextInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.