what is "Array out of range" error?

 
i've got this error "Array out of range", what is it?
Documentation on MQL5: MQL5 programs / Runtime Errors
  • www.mql5.com
MQL5 programs / Runtime Errors - Documentation on MQL5
 

For example, you have array with ten elements where their indexes are from 0 to 9

double array[10];

and you try to access to array[-1] or array[10].