The OpenD Programming Language

onArrayIndexError

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

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

Parameters

index size_t

index in the array

length size_t

length of the array

file string

The name of the file that signaled this error.

line size_t

The line number on which this error occurred.

Throws

Meta