2021-02-24 19:51:12 +00:00
|
|
|
"""Sonos specific exceptions."""
|
|
|
|
from homeassistant.components.media_player.errors import BrowseError
|
2021-11-22 00:48:57 +00:00
|
|
|
from homeassistant.exceptions import HomeAssistantError
|
2021-02-24 19:51:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
class UnknownMediaType(BrowseError):
|
|
|
|
"""Unknown media type."""
|
2021-11-22 00:48:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
class SpeakerUnavailable(HomeAssistantError):
|
|
|
|
"""Speaker is unavailable."""
|