Home Assistant Unofficial Reference
2024.12.1
errors.py
Go to the documentation of this file.
1
"""Errors for the Plex component."""
2
3
from
homeassistant.exceptions
import
HomeAssistantError
4
5
6
class
PlexException
(
HomeAssistantError
):
7
"""Base class for Plex exceptions."""
8
9
10
class
NoServersFound
(
PlexException
):
11
"""No servers found on Plex account."""
12
13
14
class
ServerNotSpecified
(
PlexException
):
15
"""Multiple servers linked to account without choice provided."""
16
17
18
class
ShouldUpdateConfigEntry
(
PlexException
):
19
"""Config entry data is out of date and should be updated."""
20
21
22
class
MediaNotFound
(
PlexException
):
23
"""Requested media was not found."""
homeassistant.components.plex.errors.MediaNotFound
Definition:
errors.py:22
homeassistant.components.plex.errors.NoServersFound
Definition:
errors.py:10
homeassistant.components.plex.errors.PlexException
Definition:
errors.py:6
homeassistant.components.plex.errors.ServerNotSpecified
Definition:
errors.py:14
homeassistant.components.plex.errors.ShouldUpdateConfigEntry
Definition:
errors.py:18
homeassistant.exceptions.HomeAssistantError
Definition:
exceptions.py:34
homeassistant.exceptions
Definition:
exceptions.py:1
core
homeassistant
components
plex
errors.py
Generated by
1.9.1