use std::path::PathBuf;
#[derive(Debug, thiserror::Error)]
pub enum SecretError {
#[error("env file not found: {0}")]
FileNotFound(PathBuf),
#[error("failed to read env file {path}: {source}")]
Io {
path: PathBuf,
#[source]
source: std::io::Error,
},
#[error("invalid syntax in {path} at line {line}: {message}")]
InvalidSyntax {
path: PathBuf,
line: usize,
message: String,
},
}