arithmetic_sign/
error.rs

1use thiserror::Error;
2
3#[derive(Debug, Error, Copy, Clone, Eq, PartialEq)]
4pub enum ArithmeticSignError
5{
6 #[error("NaN.")]
7 Nan,
8
9 #[error("Could not convert to Unsigned value from Negative.")]
10 Negative
11}