code: func NewReadCloserOnError(r io.ReadCloser, notify func(error)) io.ReadCloser {
  	return NewReadCloser(NewReaderOnError(r, notify), r)
  }
docs: // NewReadCloserOnError returns a io.ReadCloser that call the notify function
  // when an unexpected (!io.EOF) error happens, after call Read function.