mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 19:53:17 +00:00
Merge pull request #69 from cxhamilton/master
Adding PlexApiException as a base exception for all other python-plexapi exceptions.
This commit is contained in:
commit
dbb3324dc6
1 changed files with 8 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue