concision_math/
error.rs

1/*
2    Appellation: error <module>
3    Contrib: @FL03
4*/
5
6#[derive(Debug, thiserror::Error)]
7pub enum MathematicalError {
8    #[error("Dimension Error: {0}")]
9    DimensionalError(&'static str),
10    #[error("Infinity Error")]
11    InfinityError,
12    #[error("NaN Error")]
13    NaNError,
14}