Class TemplateCompilationException

Assembly: redb.Route.Templates.dll

A template could not be read or parsed. Raised while the route is compiled, so it surfaces from
RouteContext.Start() with the template name and the first error's line and column.

public sealed class TemplateCompilationException : Exception, ISerializable

Inheritance

Object→Exception→TemplateCompilationException

Implements

Properties

Column

1-based column of the first error, when known.

public int? Column { get; }

Line

1-based line of the first error, when known.

public int? Line { get; }

TemplateName

Template name as given in the DSL / XML (file path, resource locator, or <inline>).

public string TemplateName { get; }

Constructors