mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-01-06 11:09:57 -08:00
b1c0972077
* Bump plexapi from 4.15.4 to 4.15.10 Bumps [plexapi](https://github.com/pkkid/python-plexapi) from 4.15.4 to 4.15.10. - [Release notes](https://github.com/pkkid/python-plexapi/releases) - [Commits](https://github.com/pkkid/python-plexapi/compare/4.15.4...4.15.10) --- updated-dependencies: - dependency-name: plexapi dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update plexapi==4.15.10 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> [skip ci]
37 lines
683 B
Python
37 lines
683 B
Python
# -*- 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(BadRequest):
|
|
""" Invalid username/password or token. """
|
|
pass
|
|
|
|
|
|
class TwoFactorRequired(Unauthorized):
|
|
""" Two factor authentication required. """
|
|
pass
|