use thiserror::Error;
#[derive(Error, Debug)]
pub enum SecretError {
#[error("Secret key '{0}' not found")]
NotFound(String),
#[error("Operation not supported by this provider: {0}")]
UnsupportedOperation(String),
#[error("Backend error: {0}")]
Backend(#[from] anyhow::Error),
#[error("Configuration error: {0}")]
Configuration(String),
}