"""Exceptions for the aionisource library."""


class NiSourceError(Exception):
    """Base exception for aionisource."""


class AuthenticationError(NiSourceError):
    """Raised when authentication fails."""


class CannotConnectError(NiSourceError):
    """Raised when the portal cannot be reached."""


class InvalidResponseError(NiSourceError):
    """Raised when the portal returns an unexpected response."""
