onArraySliceError
fn
noreturn onArraySliceError( size_t lower = 0, size_t upper = 0, size_t length = 0,
string file = __FILE__, size_t line = __LINE__ ) @trusted pure nothrow @nogcA callback for array slice out of bounds errors in D.
Parameters
lower | the lower bound of the index passed of a slice |
upper | the upper bound of the index passed of a slice or the index if not a slice |
length | length of the array |
file | The name of the file that signaled this error. |
line | The line number on which this error occurred. |