throw new SmartyException("Unable to load template {$_template->source->type} '{$_template->source->name}'{$parent_resource}");