core/homeassistant/components/media_player/errors.py

12 lines
277 B
Python

"""Errors for the Media Player component."""
from homeassistant.exceptions import HomeAssistantError
class MediaPlayerException(HomeAssistantError):
"""Base class for Media Player exceptions."""
class BrowseError(MediaPlayerException):
"""Error while browsing."""