use std::path::PathBuf;
use thiserror::Error;
#[derive(Debug, Error)]
pub enum OxiNavError {
#[error("I/O error at {path}: {source}")]
Io {
path: PathBuf,
#[source]
source: std::io::Error,
},
#[error("destination already exists: {0}")]
DestinationExists(PathBuf),
#[error("source not found: {0}")]
SourceNotFound(PathBuf),
}