func testing/iotest.ErrReader

one use

	testing/iotest (current package)
		reader.go#L94: func ErrReader(err error) io.Reader {