aboutsummaryrefslogtreecommitdiffstats
path: root/error_handlers/http_404.py
diff options
context:
space:
mode:
Diffstat (limited to 'error_handlers/http_404.py')
-rw-r--r--error_handlers/http_404.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/error_handlers/http_404.py b/error_handlers/http_404.py
new file mode 100644
index 00000000..5920806f
--- /dev/null
+++ b/error_handlers/http_404.py
@@ -0,0 +1,11 @@
+# coding=utf-8
+
+# External Libraries
+from werkzeug.wrappers import Response
+
+
+class Index:
+ error_code = 404
+
+ def err(self):
+ return Response("Page not found!", 404)