TODO:
Parse-time errorsIt’s difficult to write complex template completely without errors. Missed braces, wrong characters, incorrect names… Everything is possible. So, it’s crucial to be able to get informative error report from the template engine. Jinja2Cpp provides such kind of report. Template::Load
method (and TemplateEnv::LoadTemplate respectively) return instance of ErrorInfo
class which contains details about the error. These details include:
For example, this template:
produces the following error message:
noname.j2tpl:1:11: error: Expected expression, got: ','
{{ {'key'=,} }}
---^-------
Runtime errors
TODO:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4