TemplateEngineException class
Exception thrown by TemplateEngine during rendering.
Covers:
- Template file not found
- Variable not found in data
- Invalid syntax (future)
- Implemented types
Constructors
- TemplateEngineException(String? message)
- Generic constructor.
- TemplateEngineException.templateNotFound(String? errorMessage)
- Thrown when a template file cannot be located.
- TemplateEngineException.variableNotFound(String? errorMessage)
- Thrown when a variable is referenced but not present in data.
Properties
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