diff options
author | James Taylor <user234683@users.noreply.github.com> | 2018-12-20 01:11:50 -0800 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2018-12-20 01:11:50 -0800 |
commit | a8d74ba082404bac016b210d151fb2d46cbd54d9 (patch) | |
tree | dd8f6409edf999ec2ea0f0b1d2e05453dce3f949 /http_errors.py | |
parent | 9d1c688310849f897c5fc7b3f37ab3ddeac67a9b (diff) | |
download | yt-local-a8d74ba082404bac016b210d151fb2d46cbd54d9.tar.lz yt-local-a8d74ba082404bac016b210d151fb2d46cbd54d9.tar.xz yt-local-a8d74ba082404bac016b210d151fb2d46cbd54d9.zip |
Correctly handle case where channel doesn't exist
Diffstat (limited to 'http_errors.py')
-rw-r--r-- | http_errors.py | 11 |
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 |