use std::path::PathBuf;
#[derive(thiserror::Error, Debug)]
#[non_exhaustive]
pub enum Error {
#[error("I/O error: {0}")]
Io(#[from] std::io::Error),
#[error("unsupported archive file type: {0}")]
UnsupportedArchiveType(PathBuf),
}
pub type Result<T> = std::result::Result<T, Error>;