ArithmeticError
29 3 variantsErrors 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
| Index | Name | Description |
|---|---|---|
| 0 | Underflow | Result is below the minimum representable value |
| 1 | Overflow | Result exceeds the maximum representable value |
| 2 | DivisionByZero | Division by zero attempted |
Type Information
- Type ID
- 29
- Path
- sp_arithmetic::ArithmeticError
- Variant Count
- 3
- Runtime
- v393