onNullPointerError

fnvoid onNullPointerError(string file = __FILE__, size_t line = __LINE__) extern(C) nothrow

A callback for null dereference errors in D. The user-supplied dereference handler will be called if one has been supplied, otherwise an NullPointerError will be thrown.

Parameters

fileThe name of the file that signaled this error.
lineThe line number on which this error occured.