src/Money/Module/Error/Controller/Error.php
protected function getTemplate($templateName)
    {
        $template = new Template($this->themePath . EKA_SEP . $templateName);
        $template->setVars($this->dataCollection->toArray());

        return $template;
    }
protected function getTemplate($templateName)
    {
        $template = new Template($this->themePath . EKA_SEP . $templateName);
        $template->setVars($this->dataCollection->toArray());

        return $template;
    }
Get template instance

@param  string $templateName
@return Template