There was a problem with your page.

shocked Ren That's why you see this custom error page ;-)

Page "/test/templatepage_error.y" caused an error: integer division or modulo by zero (type=)

Traceback (innermost last):

   File "/Users/irmen/www_snakelets/snakeserver/YpageEngine.py", line 252, in createOutput
    tplpage.create(out, _request, _response, templatedPage=self)
  File "<Ypage_code_of_Template>", line 25, in create
  File "<Ypage_code_of_templatepage_error>", line 16, in create

ZeroDivisionError: integer division or modulo by zero


You can make your error page more interesting than this, of course, if you like.
Template page example

Hello, this is a templated page. The values in the block below are specified in the page itself using template args.
The timestamp arg is determined dynamically using a special custom page method templateArgs.
The page also has a custom errorpage defined.

TITLE: Template page with error
This will be page: A templated page with an error inside
timestamp: ?? (dynamic; try reloading the page)

This is the template text. Actual page follows:


Going to devide one by zero.. You should see a custom error page (red) instead of the default errorpage.