pub type Result = std::result::Result; #[derive(thiserror::Error, Debug)] pub enum Error { #[error("Ignore error: {0:?}")] Ignore(#[from] ignore::Error), #[error("Path error: {0:?}")] Path(#[from] PathError), } #[derive(thiserror::Error, Debug)] pub enum PathError { #[error("Path contains invalid unicode: {0:?}")] Unicode(String), }