Description

Produces a nice error message and returns an error-object. The 'token'-argument is optional. If provided, it will take the token's position information. If not provided, it will automatically use the CURRENT token's position information.

Error is referenced in 2 repositories

github.com/flosch/pongo2 github.com/ipfans/beego-pongo2.v2