use std::path::PathBuf;
#[derive(thiserror::Error, Debug)]
#[allow(missing_copy_implementations)]
#[non_exhaustive]
pub enum Error {
#[error("Failed to get current working directory")]
Pwd,
#[error("Settings has no source path and can not be saved")]
NoSource,
#[error("Could not save settings at {}: {}", .0.display(), .1)]
SaveFailed(PathBuf, std::io::Error),
}