aboutsummaryrefslogtreecommitdiffstats
path: root/error_handlers/http_404.py
blob: 712bf7488ff6ca82ae0ebbcf67aa0e2af8116b93 (plain) (blame)
1
2
3
4
5
6
7
8
# coding=utf-8


class Index:
    error_code = 404

    def err(self, req):
        return req.Response(text="Page not found!", code=404)