added error string to TemplateError enum