Crate overflow_error [] [src]

Common overflow error types.

Structs

CannotDivValue

[CannotDiv] with a payload.

DivByZero

Division could not be performed due to division by zero.

DivValueByZero

[DivByZero] with a payload.

Overflowed

Operation was performed and overflowed or underflowed.

OverflowedValue

[Overflowed] with a payload.

WouldOverflow

Operation was not performed, as it would result in overflow or underflow.

WouldOverflowValue

[WouldOverflow] with a payload.

Enums

CannotDiv

Division could not be performed; either [DivByZero] or [WouldOverflow].