P0094 Arithmetic Panics
Arithmetic
cast from i128 failed; value is negative or outside the representable range of uint64
When this occurs
This error is triggered when: cast from i128 failed; value is negative or outside the representable range of uint64
Example error message
error[P0094]:
cast from i128 failed; value is negative or outside the representable range of uint64
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.