Open

Description
As a developer, I'd like to be able to have a hint of where problems arise when generating or manipulating a Word document.
$tagPos = strpos($this->tempDocumentMainPart, $search);
if (!$tagPos) {
throw new Exception('Can not clone row, template variable not found or variable contains markup.');
}
We're all developers here, wouldn't it be nice to toss in the $search variable into the error message? This would also be a nice to have for parse errors of DOM/HTML as well. It just throws an error, but doesn't give you any clue where the problem might be.
Maybe if I get some time, I'll create a PR for this.