use thiserror::Error;
#[derive(Debug, Error)]
pub enum AwsError {
#[error("AWS configuration error: {0}")]
Config(String),
#[error("AWS authentication failed: {0}")]
Auth(String),
#[error("AWS secret not found: {0}")]
NotFound(String),
#[error("AWS Secrets Manager HTTP {status}: {message}")]
Http { status: u16, message: String },
#[error("transport error: {0}")]
Transport(String),
}