package errd

import (
	
)

// Wrap wraps err with fmt.Errorf if err is non nil.
// Intended for use with defer and a named error return.
// Inspired by https://github.com/golang/go/issues/32676.
func ( *error,  string,  ...interface{}) {
	if * != nil {
		* = fmt.Errorf(+": %w", append(, *)...)
	}
}