Add plexapi v3.0.6

This commit is contained in:
JonnyWong16 2018-04-08 10:43:33 -07:00
parent b144ded87b
commit 8aa34321c9
19 changed files with 5539 additions and 0 deletions

31
lib/plexapi/exceptions.py Normal file
View file

@ -0,0 +1,31 @@
# -*- coding: utf-8 -*-
class PlexApiException(Exception):
""" Base class for all PlexAPI exceptions. """
pass
class BadRequest(PlexApiException):
""" An invalid request, generally a user error. """
pass
class NotFound(PlexApiException):
""" Request media item or device is not found. """
pass
class UnknownType(PlexApiException):
""" Unknown library type. """
pass
class Unsupported(PlexApiException):
""" Unsupported client request. """
pass
class Unauthorized(PlexApiException):
""" Invalid username or password. """
pass