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