ArithmeticError

29 3 variants

Errors from checked arithmetic operations

Nested inside DispatchError variant Arithmetic. When a DispatchError is this variant, the nested value is one of the variants below.

Variants

IndexNameDescription
0UnderflowResult is below the minimum representable value
1OverflowResult exceeds the maximum representable value
2DivisionByZeroDivision by zero attempted

Type Information

Type ID
29
Path
sp_arithmetic::ArithmeticError
Variant Count
3
Runtime
v393