onArrayIndexError

fnnoreturn onArrayIndexError( size_t index = 0, size_t length = 0, string file = __FILE__, size_t line = __LINE__ ) @trusted pure nothrow @nogc

A callback for array index out of bounds errors in D.

Parameters

indexindex in the array
lengthlength of the array
fileThe name of the file that signaled this error.
lineThe line number on which this error occurred.

Throws