E8006 Math Errors
random-invalid-range
random range is invalid
When this occurs
`random.int(0)` or `random.int(10, 5)` with invalid range
Example error message
error[E8006]:
random.int() range is invalid: max must be greater than min
How to fix
Ensure the minimum is less than the maximum in random range functions. For `random.int(max)`, max must be > 0.
Related errors
No related errors.