use thiserror::Error;
#[derive(Error, Debug)]
pub enum Error {
#[error("Platform-specific error: {0}")]
PlatformError(String),
#[error("Window detection failed: {0}")]
WindowDetection(String),
#[error("Text insertion failed: {0}")]
InsertionFailed(String),
#[error("Unsupported platform operation")]
UnsupportedPlatform,
}