core/homeassistant/components/hlk_sw16/errors.py

12 lines
270 B
Python

"""Errors for the HLK-SW16 component."""
from homeassistant.exceptions import HomeAssistantError
class SW16Exception(HomeAssistantError):
"""Base class for HLK-SW16 exceptions."""
class CannotConnect(SW16Exception):
"""Unable to connect to the HLK-SW16."""