"""
Module: src.shared.errors
Workorder: WO02
Purpose: Domain-specific exception hierarchy for processing and integrations.

Dependencies:
    - None

Inputs:
    - Error messages

Outputs:
    - Structured domain exception hierarchy

Key Functions/Classes:
    - AudioTranskriberError: Base exception

Tests: tests/unit/test_placeholder.py
"""


class AudioTranskriberError(Exception):
    """Base exception for Audio-Transkriber domain errors."""


class ConfigurationError(AudioTranskriberError):
    """Raised when configuration is invalid or missing."""


class ProcessingError(AudioTranskriberError):
    """Raised when processing pipeline execution fails."""


class ExternalServiceError(AudioTranskriberError):
    """Raised when an external local service is unavailable or returns invalid data."""


class DiarizationError(AudioTranskriberError):
    """Raised when speaker diarization mapping fails."""
