use thiserror::Error;
#[derive(Debug, Error)]
pub enum MeyerholdError {
#[error("Invalid JSON: {0}")]
InvalidJson(String),
#[error("Missing snapshot content: expected .content[0].text")]
MissingContent,
#[error("Invalid regex pattern: {0}")]
Regex(#[from] regex::Error),
#[error("No matches found for pattern: {0}")]
SearchNotFound(String),
}