Crate overflow_error[][src]

Common overflow error types.

Structs

CannotDivValue

CannotDiv with an attached value.

DivByZero

Division could not be performed due to division by zero.

DivValueByZero

DivByZero with an attached value.

Overflowed

Operation was performed and overflowed or underflowed.

OverflowedValue

Overflowed with an attached value.

WouldOverflow

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

WouldOverflowValue

WouldOverflow with an attached value.

Enums

CannotDiv

Division could not be performed; either DivByZero or WouldOverflow.

Traits

ErrorBase

The failure of a particular operation.

ErrorDesc

A discrete error with a known description.

ErrorWith

The failure of a particular operation, with the given operand(s).