Log in
appy.pod Writing ODS templates Errors management

With ODT templates, you have 2 possibilities for managing errors being encountered while rendering a POD result:

  1. an error may be embedded in the ODT result, as a note containing a traceback;
  2. an standard exception is raised.

With case (1), the result is nevertheless generated, but is incomplete: the missing part is replaced with a note containing a Python traceback.

With case (2), no result is generated at all; an exception is raised.

With ODS templates, case (2) is the only possibility.

Renderer's boolean parameter raiseOnError, used to choose one of these two cases, is always forced to True when the passed POD template is an ODS template.