mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 14:14:19 +00:00
29 lines
678 B
Python
29 lines
678 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(PlexApiException):
|
|
""" Invalid username or password. """
|
|
pass
|
|
|
|
class NotImplementedError(PlexApiException):
|
|
""" Feature is not yet implemented. """
|
|
pass
|