class GuiAgentScreenshotToolsError(Exception):
    """Base exception for this package."""


class SpaceMismatchError(ValueError, GuiAgentScreenshotToolsError):
    """Raised when objects from different spaces are mixed incorrectly."""


class InvalidResizeModeError(ValueError, GuiAgentScreenshotToolsError):
    """Raised when resize mode input is invalid."""


class MissingResizeMetadataError(ValueError, GuiAgentScreenshotToolsError):
    """Raised when a remap helper requires resize metadata but none is present."""
