Back to Examples Run this application locally to try examples

examples/page_with_error.py

from py4web import action


@action("page_with_error")
def page_with_error():
    1 / 0