#[derive(Debug, thiserror::Error)]
pub enum RustackError {
#[error("invalid AWS account ID: {0} (must be 12-digit numeric string)")]
InvalidAccountId(String),
#[error("configuration error: {0}")]
Config(String),
#[error(transparent)]
Internal(#[from] anyhow::Error),
}
pub type RustackResult<T> = Result<T, RustackError>;