core/homeassistant/components/mikrotik/errors.py

12 lines
257 B
Python
Raw Normal View History

"""Errors for the Mikrotik component."""
from homeassistant.exceptions import HomeAssistantError
class CannotConnect(HomeAssistantError):
"""Unable to connect to the hub."""
class LoginError(HomeAssistantError):
"""Component got logged out."""