aboutsummaryrefslogtreecommitdiffstats
path: root/http_errors.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-12-21 01:59:33 -0800
committerJames Taylor <user234683@users.noreply.github.com>2018-12-21 01:59:33 -0800
commitdca25bd4cc52fd7555f4210f3fa7fa73bf920d97 (patch)
tree846caafc095ac60d034d309e745c608945ab8aae /http_errors.py
parente499ff6185b8f7a87de3dd4fd81f34f70fd2f9c0 (diff)
downloadyt-local-dca25bd4cc52fd7555f4210f3fa7fa73bf920d97.tar.lz
yt-local-dca25bd4cc52fd7555f4210f3fa7fa73bf920d97.tar.xz
yt-local-dca25bd4cc52fd7555f4210f3fa7fa73bf920d97.zip
Properly handle terminated channel on channel's playlist and about page
Diffstat (limited to 'http_errors.py')
-rw-r--r--http_errors.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/http_errors.py b/http_errors.py
index 975e0d4..bd8fbb4 100644
--- a/http_errors.py
+++ b/http_errors.py
@@ -1,3 +1,8 @@
+class Code2xx(Exception):
+ pass
+class Code200(Code2xx):
+ pass
+
class Error4xx(Exception):
pass
class Error404(Error4xx):