Sets the filename where the error occurred.
string $filename The filename:
public function setTemplateFile($filename) { $this->filename = $filename; $this ->updateRepr(); }