Errors

Template errors occur when the template could not be parsed or rendered.

There are two types of errors: parsing errors and rendering errors.

Parsing errors

These occur when a template could not be parsed prior to rendering.

An example of when this would happen is not providing an {% EndIf %} tag for an 'If' block.

When this error occurs the entire template fails to render and a server error message is displayed.

Rendering errors

These occur when a template could not be rendered because of missing data or an invalid operation.

An example of when this would happen is dividing a number by zero, or attempting to access a particular key in a dictionary which is not present.

When this error occurs the portion of the template that was affected is replaced with a short error message.