Searched refs:ArithmeticOverflow (Results 1 – 3 of 3) sorted by relevance
141 ArithmeticOverflow(safemath::Error), enumerator272 Self::ArithmeticOverflow(err) in from()279 Self::ArithmeticOverflow(err.into()) in from()
191 assert!(matches!(aligned_subslice(bytes, SafeNum::MAX), Err(Error::ArithmeticOverflow(_)))); in aligned_subslice_alignment_overflow()
227 Error::ArithmeticOverflow(_) => IoError::RangeOutsidePartition, in read_from_partition()