TemplateEngineException class base

An error raised while locating, parsing, or rendering a template.

Implemented types

Constructors

TemplateEngineException(String? message)
Creates a template exception with message.
TemplateEngineException.parseError(String? m)
Creates an exception for invalid template or expression syntax.
TemplateEngineException.templateNotFound(String? m)
Creates an exception for a template file that cannot be found.
TemplateEngineException.variableNotFound(String? m)
Creates an exception for a variable that cannot be resolved.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String?
A human-readable description of the template error.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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