NLog.MessageTemplates.TemplateParserException public class TemplateParserException : Exception Error when parsing a template. Documentation public int Index { get; } Current index when the error occurred. public string Template { get; } The template we were parsing public TemplateParserException(string message, int index, string template) New exception