"""
MHS-5200A Custom Exceptions
"""


class MHS5200Error(Exception):
    """Base exception for MHS-5200A errors."""
    pass


class ConnectionError(MHS5200Error):
    """Failed to connect to device."""
    pass


class CommunicationError(MHS5200Error):
    """Communication with device failed (e.g., no response)."""
    pass


class ResponseError(MHS5200Error):
    """Unexpected response from device."""
    pass
