aboutsummaryrefslogtreecommitdiffstats
path: root/error_handlers
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-02-05 22:50:51 +0000
committerGravatar Gareth Coles <[email protected]>2018-02-05 22:50:51 +0000
commit962be094cdcbf19b3a3939bd4bfa44162b3d2a86 (patch)
tree1a522029601bb1fd96652cef3279f628c4e77e39 /error_handlers
parentFinally fix this garbage (diff)
Mart's Missing Files 2: Electric Boogaloo
Diffstat (limited to 'error_handlers')
-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)