aboutsummaryrefslogtreecommitdiffstats
path: root/http_errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'http_errors.py')
-rw-r--r--http_errors.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/http_errors.py b/http_errors.py
new file mode 100644
index 0000000..975e0d4
--- /dev/null
+++ b/http_errors.py
@@ -0,0 +1,11 @@
+class Error4xx(Exception):
+ pass
+class Error404(Error4xx):
+ pass
+
+class Error5xx(Exception):
+ pass
+class Error500(Error5xx):
+ pass
+class Error502(Error5xx):
+ pass