use thiserror::Error;
#[derive(Error, Debug)]
pub enum Error {
#[error("{0}")]
Descriptive(String),
#[error("IO error: {0}")]
IO(#[from] std::io::Error),
#[cfg(feature = "manifest")]
#[cfg_attr(docsrs, doc(cfg(feature = "manifest")))]
#[error("StripPrefixError")]
StripPrefixError(#[from] std::path::StripPrefixError),
#[cfg(feature = "manifest")]
#[cfg_attr(docsrs, doc(cfg(feature = "manifest")))]
#[error("toml_edit error: {0}")]
TomlEdit(#[from] toml_edit::TomlError),
}