TemplateException class abstract

TemplateException is used to obtain the line and column numbers of the token which caused parse or render to fail.

Implemented types

Constructors

TemplateException()

Properties

column int
The 1-based column number of the token where formatting error was found.
no setter
context String
A short source substring of the source at the point the problem occurred with parsing or rendering.
no setter
hashCode int
The hash code for this object.
no setterinherited
line int
The 1-based line number of the token where formatting error was found.
no setter
message String
A message describing the problem parsing or rendering the template.
no setter
offset int?
The character offset within the template source.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
The template source.
no setter
templateName String?
The name used to identify the template, as passed to the Template constructor.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited