Possible Errors

This section is about the possible errors that Docxtemplater will throw

Schema of the error

All errors thrown by docxtemplater have the following schema:

Error example

If your content is {user {name}, docxtemplater will throw the following error :

catch e
e.name==”TemplateError” e.message==”Unclosed tag” e.properties.explanation==”The tag beginning with ‘{user ‘ is unclosed” e.properties.id==”unclosed_tag” e.properties.context==”{user {” e.properties.xtag==”user “