[batoto] raise exception if chapter is unavailable (#4)

This commit is contained in:
Mike Fährmann
2016-09-24 13:26:19 +02:00
parent 2418bfe91b
commit 0a3fb198f3
3 changed files with 17 additions and 2 deletions

View File

@@ -12,5 +12,8 @@ class NoExtractorError(Exception):
class AuthenticationError(Exception):
"""Invalid or missing login information"""
class AuthorizationError(Exception):
"""Insufficient privileges to access a resource"""
class NotFoundError(Exception):
"""Requested resource (gallery/image) does not exist"""