class DjangoDevicehubError(Exception):
    """Base exception for django-devicehub."""


class DeviceTypeError(DjangoDevicehubError):
    """Error in DeviceType definition."""


class RegistryError(DjangoDevicehubError):
    """Error in device type registry."""


class BrokerError(DjangoDevicehubError):
    """Error in broker communication."""


class AuthenticationError(DjangoDevicehubError):
    """Device authentication error."""


class RoutingError(DjangoDevicehubError):
    """Error in message routing."""
