You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewRuntimeError(`Array index out of bounds: ${index} < 0.`);
39
+
thrownewRuntimeError(`Array index out of bounds: negative index`);
40
40
}
41
41
42
42
if(index>=array.length){
43
-
thrownewRuntimeError(`Array index out of bounds: ${index} > ${array.length-1}.`);
43
+
thrownewRuntimeError(`Array index out of bounds: index exceeds array size`);
44
44
}
45
45
46
46
if(index!==Math.floor(index)){
47
-
thrownewRuntimeError(`Array index must be an integer, but found ${index} instead. Use at-interpolated to retrieve interpolated result with a fractional index.`);
47
+
thrownewRuntimeError(`Array index must be an integer. Use at-interpolated for fractional indices`);
0 commit comments