"""
Exception hierarchy for SooSeF.

SooSeF-specific exceptions. Stegasoo and Verisoo exceptions pass through
from their respective packages — no wrapping needed.
"""


class SoosefError(Exception):
    """Base exception for all SooSeF errors."""


class ConfigError(SoosefError):
    """Configuration error."""


class KeystoreError(SoosefError):
    """Key management error."""


class FieldkitError(SoosefError):
    """Fieldkit operation error."""


class KillswitchError(FieldkitError):
    """Killswitch operation error."""


class InitError(SoosefError):
    """Initialization/setup error."""


class ChainError(SoosefError):
    """Hash chain error."""


class ChainIntegrityError(ChainError):
    """Chain integrity violation — tampered or corrupted records."""


class ChainAppendError(ChainError):
    """Failed to append to chain."""
