Skip to main content

overflow_message

Function overflow_message 

Source
pub fn overflow_message(op: &str) -> &'static str
Expand description

The panic of a machine-integer operation whose result is out of range: op is add, sub, mul, div, rem or neg.

ยงPanics

On any other operation, which cannot overflow.