Merge pull request #69 from cxhamilton/master

Adding PlexApiException as a base exception for all other python-plexapi exceptions.
This commit is contained in:
Michael Shepanski 2016-11-03 23:21:12 -04:00 committed by GitHub
commit dbb3324dc6

View file

@ -4,17 +4,20 @@
PlexAPI Exceptions
"""
class BadRequest(Exception):
class PlexApiException(Exception):
pass
class NotFound(Exception):
class BadRequest(PlexApiException):
pass
class UnknownType(Exception):
class NotFound(PlexApiException):
pass
class Unsupported(Exception):
class UnknownType(PlexApiException):
pass
class Unauthorized(Exception):
class Unsupported(PlexApiException):
pass
class Unauthorized(PlexApiException):
pass