onAssertErrorMsg

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

extern (C) nothrow
void
onAssertErrorMsg
(
string file
,
size_t line
,
string msg
)

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.

msg
Type: string

An error message supplied by the user.

Suggestion Box / Bug Report