use crate::linalg::LinalgError;
use thiserror::Error;
#[derive(Error, Debug, Eq, PartialEq)]
pub enum GaussianError {
#[error("Given y_vec contains a negative value")]
GivenYVecContainsNegativeValue,
#[error("Given x_vec has no element")]
GivenXVecHasNoElement,
#[error("Linalg error: {0:?}")]
Linalg(#[from] LinalgError),
}