use std::path::PathBuf;
#[derive(Debug, thiserror::Error, PartialEq)]
pub enum OliframeError {
#[error("Unable to open image file at: {0}")]
ImageUnreadable(PathBuf),
#[error("Invalid input: {0}")]
InvalidInput(String),
#[error("Unable to save image: {0}. {1}")]
SaveError(PathBuf, String),
}