core/homeassistant/components/mikrotik/errors.py

11 lines
256 B
Python

"""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."""