use thiserror::Error;
#[derive(Debug, Error)]
pub(crate) enum ScreenshotError {
#[allow(dead_code, reason = "kept for the exhaustive match in the macOS dispatcher")]
#[error("native screenshot capture is unsupported on this platform")]
PlatformUnsupported,
#[error("native screenshot capture failed: {message}")]
CaptureFailed { message: String },
}