use std::fmt;
pub enum Error {
TooManyGradientPointsRequested
}
impl fmt::Debug for Error {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}", match self {
Error::TooManyGradientPointsRequested => "You asked for a noise with too many gradient points compared to the width of the picture 🤕"
})
}
}