Returns a random integer in [min, max).
inclusive lower bound.
exclusive upper bound.
Result containing random integer, or INVALID_ARGUMENT error.