core/homeassistant/components/netgear/errors.py

12 lines
277 B
Python

"""Errors for the Netgear component."""
from homeassistant.exceptions import HomeAssistantError
class NetgearException(HomeAssistantError):
"""Base class for Netgear exceptions."""
class CannotLoginException(NetgearException):
"""Unable to login to the router."""