use thiserror::Error as ThisError;
pub type Result<T> = std::result::Result<T, Error>;
#[derive(ThisError, Debug)]
pub enum Error {
#[error("requested product not found in radial data")]
ProductNotFound,
#[error("no radials provided for rendering")]
NoRadials,
#[error("invalid image dimensions")]
InvalidDimensions,
#[error("image save error: {0}")]
ImageSave(String),
}