"""Custom exceptions for desktop SSO flows."""


class SSOAuthError(Exception):
    """Base exception for SSO authentication failures."""


class SSOStateMismatchError(SSOAuthError):
    """Raised when callback state does not match request state."""


class SSOTokenNotFoundError(SSOAuthError):
    """Raised when expected tokens are not found in callback URL."""
