onRangeError

A callback for array bounds errors in D. A RangeError will be thrown.

extern (C) @trusted pure nothrow @nogc
void
onRangeError
(
string file = __FILE__
,
size_t line = __LINE__
)

Parameters

file
Type: string

The name of the file that signaled this error.

line
Type: size_t

The line number on which this error occurred.

Throws

Suggestion Box / Bug Report