P0028 Arithmetic Panics

Arithmetic

i256 subtraction result is too large; value exceeds the range of i256

When this occurs

This error is triggered when: i256 subtraction result is too large; value exceeds the range of i256

Example error message

error[P0028]: i256 subtraction result is too large; value exceeds the range of i256

How to fix

Review the error message and check your code at the indicated location. The message describes what went wrong — fix the underlying issue it identifies.

Related errors

No related errors.