"""Exception classes for the analysis framework.

These exceptions extend the project's base exception hierarchy
defined in :mod:`core.exceptions`.
"""

from __future__ import annotations

from core.exceptions import AnalysisError


class AnalyzerRegistrationError(AnalysisError):
    """Raised when an analyzer cannot be registered.

    This typically occurs when an analyzer with the same name has
    already been registered.
    """


class AnalyzerExecutionError(AnalysisError):
    """Raised when an analyzer fails during execution.

    The pipeline catches this exception to isolate failures and
    continue executing remaining analyzers.
    """
