#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("Failed to parse SQL template: {0}")]
Parse(#[from] regex::Error),
#[error("Database error: {0}")]
Database(#[from] sqlx::Error),
#[error("Placeholder '{0}' was not bound by the binder function")]
UnboundPlaceholder(String),
}
pub type Result<T> = std::result::Result<T, Error>;