Trait overflow_error::ErrorBase [−][src]
pub trait ErrorBase<Val: ?Sized = ()>: Fail + ErrorDesc { type With: ?Sized + ErrorWith<Val, Without = Self>; fn val(self, val: Val) -> Self::With
where
Val: Sized; }
The failure of a particular operation.
Can be attached with a value of type Val.
Associated Types
Required Methods
Implementations on Foreign Types
impl<Val: ?Sized> ErrorBase<Val> for ![src]
impl<Val: ?Sized> ErrorBase<Val> for !Implementors
impl<T: ?Sized> ErrorBase<T> for DivByZero type With = DivValueByZero<T>;impl<T: ?Sized> ErrorBase<T> for CannotDiv type With = CannotDivValue<T>;impl<T: ?Sized> ErrorBase<T> for Overflowed type With = OverflowedValue<T>;impl<T: ?Sized> ErrorBase<T> for WouldOverflow type With = WouldOverflowValue<T>;