use anyhow::Result;

/// Validate user input
pub fn validate_user_id(user_id: &str) -> Result<()> {
    if user_id.is_empty() {
        return Err(anyhow::anyhow!("User ID cannot be empty"));
    }
    Ok(())
}

/// Validate session ID
pub fn validate_session_id(session_id: &str) -> Result<()> {
    if session_id.is_empty() {
        return Err(anyhow::anyhow!("Session ID cannot be empty"));
    }
    Ok(())
}