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


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


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


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